• C
    Expose Window.viewInsets in dart:ui (#4403) · 93648ef0
    Chris Bracken 提交于
    Window.viewInsets is the set of window-relative insets that describe the
    area of the window that an application may want to treat as effectively
    reducing the size of the content. Typically this is due to system UI
    that fully obscures underlying content, such as the keyboard.
    
    This area differs from padding in that padding is the set of insets that
    describe the area of the window that may be partially (or fully)
    obscured by system UI or physical intrusions into the view area (e.g.
    iPhone X sensor housing, status bar, or the iPhone X home indicator
    widget).
    
    This patch does not yet enable the iOS bottom edge safe area. Once the
    framework has been updated to use viewInsets for bottom-edge occlusions
    (today, the keyboard), the bottom safe area will be enabled and
    framework patches that depend on it, landed.
    93648ef0
hooks.dart 6.8 KB