tiAction property

TextInputAction? get tiAction

tiAction

The TextInputAction to be associated with a FormifyTextField widget.

If the keyboardType of the widget is set to TextInputType.multiline, this property returns null to indicate that there is no specific TextInputAction associated with the widget. Otherwise, it returns the value of the textInputAction property.

This property simplifies the management of the textInputAction property based on the keyboardType.

Implementation

TextInputAction? get tiAction {
  if (keyboardType == TextInputType.multiline) {
    return null;
  }
  return textInputAction;
}