ResizeScaffoldBehavior.avoidBottomInset constructor

const ResizeScaffoldBehavior.avoidBottomInset({
  1. bool maintainBottomBar,
})

The SheetContentScaffold resizes its body to avoid overlapping the onscreen keyboard.

If the maintainBottomBar is true, the bottom bar will be visible even when the keyboard is open. (Defaults to false.)

Implementation

const factory ResizeScaffoldBehavior.avoidBottomInset({
  bool maintainBottomBar,
}) = _AvoidBottomInset;