KeyboardActionsItem class
Class to define the focusNode
that you pass to your TextField
too and other params to customize
the bar that will appear over your keyboard
Constructors
-
KeyboardActionsItem({required FocusNode focusNode, VoidCallback? onTapAction, List<
ButtonBuilder> ? toolbarButtons, bool enabled = true, bool displayActionBar = true, bool displayArrows = true, bool displayDoneButton = true, }) -
const
Properties
- displayActionBar → bool
-
true
default
to display the action barfinal - displayArrows → bool
-
true
default
to display the arrows to move between the fieldsfinal - displayDoneButton → bool
-
true
default
to display the Done buttonfinal - enabled → bool
-
true
default
if the TextField is enabledfinal - focusNode → FocusNode
-
The Focus object coupled to TextField, listening for got/lost focus events
final
-
Builder for an optional widget to show below the action bar.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onTapAction → VoidCallback?
-
Optional callback if the Done button for TextField was tapped
It will only work if
displayDoneButton
istrue
andtoolbarButtons
is null or emptyfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toolbarButtons
→ List<
ButtonBuilder> ? -
Optional widgets to display to the right of the bar/
NOTE:
toolbarButtons
override the Done button by defaultfinal
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