flutter/examples/widgets
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
..
card_collection.dart Automatically fill in the menu button when there's a drawer 2015-12-03 16:30:06 -08:00
container.dart Use the presence of handler to determine 'enabled' 2015-10-26 17:35:41 -07:00
drag_and_drop.dart Make BoxDecoration replaceable. 2015-12-07 19:24:25 -08:00
ensure_visible.dart Port ensure_visible.dart to fn3. 2015-10-26 12:44:54 -07:00
flutter.yaml add a flutter.yaml file for the widgets project 2015-11-12 13:42:54 -08:00
gestures.dart Remove PaintingCanvas 2015-12-04 20:26:08 -08:00
hero_under.dart Support for hero transitions underneath a PageRoute 2015-12-04 14:26:31 -08:00
horizontal_scrolling.dart Make BoxDecoration replaceable. 2015-12-07 19:24:25 -08:00
http_post.dart Fix #104 Support for setting HTTP headers 2015-11-16 14:10:58 -08:00
indexed_stack.dart Trivial whitespace fixes. 2015-11-12 22:10:16 -08:00
launch_url.dart Add an example for launching a URL 2015-11-13 14:16:25 -08:00
media_query.dart Media query class for querying viewport information 2015-10-28 12:34:57 -07:00
mimic_demo.dart Add liftToOverlay to Mimicable 2015-12-02 14:20:56 -08:00
navigation.dart NavigatorTransaction 2015-11-30 15:24:36 -08:00
nine_patch.dart Add a centerSlice parameter to images 2015-10-13 13:21:36 -07:00
overlay_geometry.dart PointerInput refactor 2015-12-04 22:42:38 -08:00
pageable_list.dart Automatically fill in the menu button when there's a drawer 2015-12-03 16:30:06 -08:00
piano.dart Update shadow rendering 2015-11-18 07:58:28 -08:00
progress_indicator.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
raw_keyboard.dart Remove unneeded null check in raw keyboard example 2015-11-11 11:05:11 -08:00
README.md add a flutter.yaml file for the widgets project 2015-11-12 13:42:54 -08:00
scrollbar.dart ItemBuilder should also get the index of the item 2015-11-12 12:05:42 -08:00
sector.dart Use the presence of handler to determine 'enabled' 2015-10-26 17:35:41 -07:00
smooth_resize.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
spinning_mixed.dart Remove animation scheduler. 2015-12-01 20:36:52 -08:00
styled_text.dart Strong modeify the examples 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.