viewPadding property Null safety

WindowPadding viewPadding
final

The view insets, as it intersects with ScreenConfiguration.viewPadding for the screen it is on.

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

The number of physical pixels on each side of this screen rectangle into which the application can place a view, but which may be partially obscured by system UI (such as the system notification area), or physical intrusions in the display (e.g. overscan regions on television screens or phone sensor housings).

Implementation

final WindowPadding viewPadding;