InputOptions class

Annotations

Constructors

InputOptions({InputClearMode inputClearMode = InputClearMode.always, void onTextChanged(String)?, VoidCallback? onTextFieldTap, SendButtonVisibilityMode sendButtonVisibilityMode = SendButtonVisibilityMode.editing, TextEditingController? textEditingController})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
inputClearMode InputClearMode
Controls the Input clear behavior. Defaults to InputClearMode.always.
final
onTextChanged → void Function(String)?
Will be called whenever the text inside TextField changes.
final
onTextFieldTap VoidCallback?
Will be called on TextField tap.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendButtonVisibilityMode SendButtonVisibilityMode
Controls the visibility behavior of the SendButton based on the TextField state inside the Input widget. Defaults to SendButtonVisibilityMode.editing.
final
textEditingController TextEditingController?
Custom TextEditingController. If not provided, defaults to the InputTextFieldController, which extends TextEditingController and has additional fatures like markdown support. If you want to keep additional features but still need some methods from the default TextEditingController, you can create your own InputTextFieldController (imported from this lib) and pass it here.
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