• Chris Bracken's avatar
    Apply media padding in complex layout benchmark drawer header (#13610) · 2c0c9ba9
    Chris Bracken authored
    By default BoxScrollView (and hence ListView, which is a subclass)
    padding is the media padding along its scroll axis in order to avoid
    placing list items within areas where user interaction should be
    minimised -- e.g. under the status bar, or in and around the iPhone X
    notch in landscape mode.
    
    In cases where a list item should occupy the padding area, developers
    should set the ListView padding to EdgeInsets.zero so as not to pick up
    the default media padding. For widgets inside the drawer that should
    avoid safe areas, developers can add a SafeArea widget.
    2c0c9ba9
Name
Last commit
Last update
..
main.dart Loading commit data...