mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() 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). |
||
---|---|---|
.. | ||
card_collection.dart | ||
container.dart | ||
drag_and_drop.dart | ||
ensure_visible.dart | ||
flutter.yaml | ||
gestures.dart | ||
hero_under.dart | ||
horizontal_scrolling.dart | ||
http_post.dart | ||
indexed_stack.dart | ||
launch_url.dart | ||
media_query.dart | ||
mimic_demo.dart | ||
navigation.dart | ||
nine_patch.dart | ||
overlay_geometry.dart | ||
pageable_list.dart | ||
piano.dart | ||
progress_indicator.dart | ||
pubspec.yaml | ||
raw_keyboard.dart | ||
README.md | ||
scrollbar.dart | ||
sector.dart | ||
smooth_resize.dart | ||
spinning_mixed.dart | ||
styled_text.dart |
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.