DragSheetKeyboardDismissBehavior constructor

const DragSheetKeyboardDismissBehavior({
  1. bool isContentScrollAware = false,
})

Creates a SheetKeyboardDismissBehavior that always dismisses the on-screen keyboard when the sheet is dragged.

If isContentScrollAware is true, the keyboard will also be dismissed when the user scrolls a scrollable content within the sheet.

Implementation

const DragSheetKeyboardDismissBehavior({super.isContentScrollAware});