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. Defaults to MediaQueryData.viewPadding.

Set this to EdgeInsets.zero to disable the insets.

Implementation

final EdgeInsetsGeometry? viewInsets;