dart - CustomTag is undefined while creating custom Polymer component -


i trying create custom element using following:

import 'package:polymer/polymer.dart';  // custom elements extend polymerelement @customtag('my-element') class myelement extends polymerelement {  // custom functionality goes here } 

dart editor shows error 'undefined name customtag

i trying example given @ url below. files copied listed @ url below.

https://github.com/sethladd/dart-polymer-dart-examples/blob/master/web/custom_element_that_contains_other_tags/my_element.dart

am missing in pubspec? pubspec not listed @ above url.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -