padding property Null safety

WindowPadding padding
final

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

For instance, if the view doesn't overlap the ScreenConfiguration.padding area, padding 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 padding;