the on-click events are correctly invoking the {{increment}} method, but the {{count}} value is not updated in the HTML.

网友答案:

Polymer code should be run from

import "package:polymer/polymer.dart";
main() {
initPolymer().run(() {
// code here works most of the time
Polymer.onReady.then((value) {
// some things must wait until onReady callback is called
// for an example look at the discussion linked below
});
});
}