SheetKeyboardDismissBehavior class abstract
Determines when the on-screen keyboard should be dismissed.
Constructors
- SheetKeyboardDismissBehavior({bool isContentScrollAware = false})
-
Creates an object that determines when the on-screen keyboard
should be dismissed.
const
- SheetKeyboardDismissBehavior.onDrag({bool isContentScrollAware})
-
Creates a SheetKeyboardDismissBehavior that always dismisses the
on-screen keyboard when the sheet is dragged.
constfactory
- SheetKeyboardDismissBehavior.onDragDown({bool isContentScrollAware})
-
Creates a SheetKeyboardDismissBehavior that dismisses the on-screen
keyboard only when the sheet is dragged down.
constfactory
- SheetKeyboardDismissBehavior.onDragUp({bool isContentScrollAware})
-
Creates a SheetKeyboardDismissBehavior that dismisses the on-screen
keyboard only when the sheet is dragged up.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isContentScrollAware → bool
-
Whether the sheet should be aware of the content scrolling.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldDismissKeyboard(
double userDragDelta) → bool - Whether the on-screen keyboard should be dismissed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited