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, PreferredSizeWidget footerBuilder(BuildContext context)?, MainAxisAlignment toolbarAlignment = MainAxisAlignment.end})
const

Properties

displayActionBar bool
true default to display the action bar
final
displayArrows bool
true default to display the arrows to move between the fields
final
displayDoneButton bool
true default to display the Done button
final
enabled bool
true default if the TextField is enabled
final
focusNode FocusNode
The Focus object coupled to TextField, listening for got/lost focus events
final
footerBuilder → (PreferredSizeWidget Function(BuildContext context)?)
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 is true and toolbarButtons is null or empty
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toolbarAlignment MainAxisAlignment
Alignment of the row that displays toolbarButtons. If you want to show your buttons from the left side of the toolbar, you can set toolbarAlignment and set the value of displayArrows to false
final
toolbarButtons List<ButtonBuilder>?
Optional widgets to display to the right of the bar/ NOTE: toolbarButtons override the Done button by default
final

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