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.
am missing in pubspec? pubspec not listed @ above url.
Comments
Post a Comment