Adam Barth 72329cf422 Callback identity is too fragile for CustomPaint
Many of the widgets that use CustomPaint were spamming repaints because
CustomPaint repaints when the identity of the onPaint callback changes, which
it does every build for StatelessComponents.

This patch changes CustomPaint to use a CustomPainter, similar to the new
custom layout widgets. The CustomPainter has a `shouldRepaint` function along
with its `paint` function. This function gives clients explicit control over
when the custom paint object repaints.
2015-11-20 08:20:59 -08:00
..
2015-10-23 18:13:25 -07:00
2015-11-16 15:54:40 -08:00
2015-10-23 18:13:25 -07:00
2015-11-12 22:10:16 -08:00
2015-11-16 15:54:40 -08:00
2015-11-18 07:58:28 -08:00
2015-10-23 18:13:25 -07:00
2015-10-23 18:13:25 -07:00

Small examples of the Flutter widget framework

To run these, open a terminal in this directory and use the following command:

flutter start --checked -t foo.dart

...where foo.dart is the file you want to run.