Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Polymer core elements in Dart

Is there a way to use existing Polymer standard core elements , such as core-toolbar and core-menu, in Dart?

If you download the polymer project with bower you can find the javascript versions in /polymer/bower-components/.

core-toolbar, for instance, contains a core-toolbar.html and a metadata.html. These have <polymer-element> tags in them just like in Dart. Can these be adapted?

like image 485
alex Avatar asked Aug 08 '26 15:08

alex


1 Answers

In the meantime, an official package has arrived:

http://pub.dartlang.org/packages/core_elements

And you can even have the paper elements of the material design:

http://pub.dartlang.org/packages/paper_elements

like image 54
johsin18 Avatar answered Aug 10 '26 07:08

johsin18



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!