• Adam Barth's avatar
    Call onPageChanged at the halfway mark (#8302) · 862fc051
    Adam Barth authored
    Previously we called onPageChanged when the scroll ended, but that is too late.
    Now we call onPageChanged when we cross the halfway mark, which, for example,
    makes the tab indicator update earlier.
    
    Fixes #8265
    862fc051
page_view.dart 6.82 KB