minInsets property

EdgeInsets minInsets
final

The minimum padding to inset the FloatingActionButton by for it to remain visible.

This value is the result of calling MediaQuery.padding in the Scaffold's BuildContext, and is useful for insetting the FloatingActionButton to avoid features like the system status bar or the keyboard.

If Scaffold.resizeToAvoidBottomPadding is set to false, minInsets.bottom will be 0.0 instead of MediaQuery.padding.bottom.

Implementation

final EdgeInsets minInsets