How to differentiate Dart types

Issue I have the following types: class AddressEditor extends TextEditor {} class TypeEditor extends TextEditor {} I tried to identify the editors as such: void validationErrorHandler( ValidationError e ) { var editor = e.editor; if( editor is AddressEditor ) print(

Continue reading

Dart bwu_datagrid error

Issue I run this code from bwu_datagrid example in Dart Editor: pubspec.yaml name: ‘basicExample’ version: 0.0.1 description: A web app built using polymer.dart. environment: sdk: ‘>=1.0.0 <2.0.0’ dependencies: browser: ‘>=0.10.0 <0.11.0’ polymer: ‘>=0.16.0 <0.17.0’ bwu_datagrid: any js: any transformers: –

Continue reading

Dart bwu_datagrid error

Issue I run this code from bwu_datagrid example in Dart Editor: pubspec.yaml name: ‘basicExample’ version: 0.0.1 description: A web app built using polymer.dart. environment: sdk: ‘>=1.0.0 <2.0.0’ dependencies: browser: ‘>=0.10.0 <0.11.0’ polymer: ‘>=0.16.0 <0.17.0’ bwu_datagrid: any js: any transformers: –

Continue reading

Two BwuDatagrids on one page

Issue I have polymer paper layout with paper-drawer-panel and two Polymer components contains BwuDatagrid elements. And I get some troubles when two components with bwu-datagrid tags rendered on one page: But if didn’t render component in paper-drawer-panel it’s worked like

Continue reading