DragUpSheetKeyboardDismissBehavior constructor
const
DragUpSheetKeyboardDismissBehavior({
- bool isContentScrollAware = false,
Creates a SheetKeyboardDismissBehavior that dismisses the on-screen keyboard only when the sheet is dragged up.
If isContentScrollAware is true
, the keyboard will also be dismissed
when the user scrolls down a scrollable content within the sheet.
Implementation
const DragUpSheetKeyboardDismissBehavior({super.isContentScrollAware});