• Michael Goderbauer's avatar
    getOffsetToReveal deals with pinned slivers (#11878) · 30fd06f7
    Michael Goderbauer authored
    * getOffsetToReveal deals with pinned slivers
    
    If a Sliver can potentially be pinned at the edge of a viewport, getOffsetToReveal will take that into account and scroll further up/down to ensure that the object to reveal doesn't end up covered by a pinned sliver.
    
    This is important for accessibility scrolling with app bars.
    
    Since how much a pinned sliver is covering is dynamic (it can change with scroll offset, etc), getOffsetToReveal deals with the worst case and tries to ensure that the object to uncover is visible when the pinned slivers are at their max pinned extent.
    
    * name fixes
    
    * review feedback
    
    * typos
    
    * renaming
    
    * fix analyzer
    
    * fix test
    
    * analyzer fixes
    30fd06f7
Name
Last commit
Last update
..
animation Loading commit data...
cupertino Loading commit data...
engine Loading commit data...
examples Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
harness Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
services Loading commit data...
ui Loading commit data...
widgets Loading commit data...