safe_padding

Function safe_padding 

Source
pub fn safe_padding(
    child: impl IntoUiNode,
    padding: impl IntoVar<SideOffsets>,
) -> UiNode
Expand description

P Padding required to avoid physical screen obstructions.

By default this is WINDOW.vars().safe_padding() that is defined by the operating system. You can unset this property to implement your own unsafe area handling.