mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() Added horizontal and vertical alignment properties to Stack so that the origin of non-positioned children can be specified. Currently all of the non-positioned children just end up with their top-left at 0,0. Now, for example, you can center the children by specifying verticalAlignment: 0.5, horizontalAlignment: 0.5. Added IndexedStack which only paints the stack child specified by the index property. Since it's a Stack, it's as big as the biggest non-positioned child. This component will be essential for building mobile drop down menus. Added a (likely temporary) example that demonstrates IndexedStack. |
||
---|---|---|
.. | ||
big_switch.dart | ||
BUILD.gn | ||
card_collection.dart | ||
container.dart | ||
date_picker.dart | ||
drag_and_drop.dart | ||
ensure_visible.dart | ||
horizontal_scrolling.dart | ||
indexed_stack.dart | ||
navigation.dart | ||
overlay_geometry.dart | ||
pageable_list.dart | ||
piano.dart | ||
progress_indicator.dart | ||
pubspec.yaml | ||
scale.dart | ||
sector.dart | ||
spinning_mixed.dart | ||
styled_text.dart | ||
tabs.dart |