• Chris Bracken's avatar
    Scaffold resizeToAvoidBottomPadding uses view insets (#13437) · 6ff844a9
    Chris Bracken authored
    Now that keyboard height is modelled as a (bottom) view inset, migrate
    scaffold bottom resizing to use view insets instead of bottom padding,
    which, after an engine roll, will only be used for safe areas.
    
    Until the aforementioned engine roll, the keyboard height is still
    included in both bottom padding and view insets. As such
    resizeToAvoidBottomPadding still drives bottom padding removal until
    that roll lands.
    
    Renames _ScaffoldLayout.bottomPadding to bottomViewInset
    6ff844a9
scaffold_test.dart 23.7 KB