LitFocusController class

Controlls the focus of the currently displayed Widget by accessing the BuildContext.

Constructors

LitFocusController(BuildContext context)
Creates a LitFocusController.
const

Properties

context BuildContext
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

defocus() → void
Resets the focus on the currently displayed Widget by creating a new FocusNode instance which won't be applied to any Widget. This will then defocus the currently edited text field and removes the soft keyboard from the screen.
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