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

Inheritance

Constructors

KeyboardDismiss()
const

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
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.