• 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
.idea Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_repo.yaml Loading commit data...
appveyor.yml Loading commit data...