KeyboardDismiss enum
There can be only KeyboardAutoDismiss widget in the tree Select always when it is the root scaffold Select whenNeeded when you use the scaffold also as a root widget Select never when you want to disable auto-dismiss
Values
- always → const KeyboardDismiss
-
Always activate auto-dismiss and throw assertion error if there already is a KeyboardAutoDismiss ancestor
- whenNeeded → const KeyboardDismiss
-
Only activates when there is no ancestor KeyboardAutoDismiss widget
- never → const KeyboardDismiss
-
Does not activate auto-dismiss
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
KeyboardDismiss> - A constant List of the values in this enum, in order of their declaration.