flutter/examples/rendering
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
..
lib Refactor PaintingContext 2015-11-19 11:18:04 -08:00
align_items.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
baseline.dart Callback identity is too fragile for CustomPaint 2015-11-20 08:20:59 -08:00
borders.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
flex.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
interactive_flex.dart Update four callers of Message constructor to pass in required arguments 2015-11-13 14:39:06 -08:00
justify_content.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
pubspec.yaml Rewire the pubspecs to use local paths 2015-11-06 22:46:52 -08:00
render_grid.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
render_paragraph.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
sector_layout.dart Fix warnings seen when running skyanalyzer in strong mode 2015-10-15 10:56:03 -07:00
shadowed_box.dart Update shadow rendering 2015-11-18 07:58:28 -08:00
simple_autolayout.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
spinning_flex.dart Port spinning_mixed demo to fn3 2015-10-22 14:20:13 -07:00
touch_demo.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
transform.dart Import dart:ui as ui (instead of as sky) 2015-10-09 20:55:54 -07:00