• Hans Muller's avatar
    IndexedStack · 09d26302
    Hans Muller authored
    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.
    09d26302
Name
Last commit
Last update
..
auto_layout.dart Loading commit data...
binding.dart Loading commit data...
block.dart Loading commit data...
box.dart Loading commit data...
debug.dart Loading commit data...
editable_paragraph.dart Loading commit data...
error.dart Loading commit data...
flex.dart Loading commit data...
grid.dart Loading commit data...
hit_test.dart Loading commit data...
image.dart Loading commit data...
layer.dart Loading commit data...
node.dart Loading commit data...
object.dart Loading commit data...
paragraph.dart Loading commit data...
proxy_box.dart Loading commit data...
shifted_box.dart Loading commit data...
stack.dart Loading commit data...
statistics_box.dart Loading commit data...
toggleable.dart Loading commit data...
view.dart Loading commit data...
viewport.dart Loading commit data...