minViewPadding property

EdgeInsets minViewPadding
final

The minimum padding to inset interactive elements to be within a safe, un-obscured space.

This value reflects the MediaQueryData.viewPadding of the Scaffold's BuildContext when Scaffold.resizeToAvoidBottomInset is false or and the MediaQueryData.viewInsets > 0.0. This helps distinguish between different types of obstructions on the screen, such as software keyboards and physical device notches.

Implementation

final EdgeInsets minViewPadding;