• Hans Muller's avatar
    The IgnorePointer class enables one to cut a widget subtree off from pointer... · d2d9ae13
    Hans Muller authored
    The IgnorePointer class enables one to cut a widget subtree off from pointer events. This is useful when a sibling should not shield pointer events from overlapping siblings below it.
    
    Added a ScrollListener listener to Scrollable. The ScrollListener runs each time the Scrollable's scrollOffset changes. This can be used to keep overlay widgets in sync with a Scrollable below them.
    
    Removed the Scrollable ScrollClient API. It was no longer used and was clumsy to use as a ScrollListener.
    
    Added global function findScrollableAncestor() to scrollable.dart.
    
    Added examples/widgets/overlay_geometry.dart. The app's Scaffold is contained by a Stack. The Stack is used to display green overlay "Markers" at the corners of the most recently selected list item and where the corresponding tap occurred. The app uses widget.localToGlobal() to compute the global overlay positions of the markers. The ScrollListener is used to keep the markers' positions up to date.
    d2d9ae13
Name
Last commit
Last update
..
animation Loading commit data...
base Loading commit data...
editing Loading commit data...
mojo Loading commit data...
painting Loading commit data...
rendering Loading commit data...
theme Loading commit data...
widgets Loading commit data...
README.md Loading commit data...
sky_tool Loading commit data...
widgets.dart Loading commit data...