viewInsets property

EdgeInsetsGeometry? viewInsets
final

The insets of the view. In other words, the minimum distance between the edges of the view and the edges of the portal.

Set this to EdgeInsets.zero to disable the insets.

Defaults to MediaQueryData.viewPadding.

Implementation

final EdgeInsetsGeometry? viewInsets;