Ian Hickson 2afa87dfcd Make BoxDecoration replaceable.
Factor out a reusable interface called Decoration from BoxDecoration.

Make all the consumers of BoxDecoration and the erstwhile BoxPainter
into consumers of Decoration.

Make a BoxPainter be something you get from a Decoration, rather than
something to which you pass a BoxDecoration.

Rename Shape to BoxShape now that it's documented specifically as
applying to boxes.

Move EdgeDims to its own file.

Move FractionalOffset up so that it's with the other helper classes in
its file rather than alone at the end.

Minor change to RenderClipOval's hit testing to avoid taking an
unnecessary square root.

Rename BoxDecorationPosition to DecorationPosition since
RenderDecoratedBox now takes any Decoration.

Implement hit testing for rounded rects.

Rename AnimatedBoxDecorationValue to AnimatedDecorationValue, and make
it support lerping across any Decoration (by deferring to the objects
involved).
2015-12-07 19:24:25 -08:00
..
2015-12-04 20:26:08 -08:00
2015-11-12 22:10:16 -08:00
2015-12-02 14:20:56 -08:00
2015-11-30 15:24:36 -08:00
2015-12-04 22:42:38 -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.