SheetKeyboardDismissBehavior class abstract

Determines when the on-screen keyboard should be dismissed.

Implementers

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.
const
factory
SheetKeyboardDismissBehavior.onDragDown({bool isContentScrollAware})
Creates a SheetKeyboardDismissBehavior that dismisses the on-screen keyboard only when the sheet is dragged down.
const
factory
SheetKeyboardDismissBehavior.onDragUp({bool isContentScrollAware})
Creates a SheetKeyboardDismissBehavior that dismisses the on-screen keyboard only when the sheet is dragged up.
const
factory

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