viewInsets property Null safety

WindowPadding viewInsets
final

The view insets, as it intersects with Screen.viewInsets for the screen it is on.

For instance, if the view doesn't overlap the ScreenConfiguration.viewInsets area, viewInsets will be WindowPadding.zero.

The number of physical pixels on each side of this view rectangle into which the application can draw, but over which the operating system will likely place system UI, such as the keyboard or system menus, that fully obscures any content.

Implementation

final WindowPadding viewInsets;