RTextFieldCommands class final

Commands for TextField renderer (v1).

These are NOT "user callbacks". They are internal component commands that a renderer may invoke to delegate behavior back to the component.

Example: tap-to-focus on container decoration/padding area.

Annotations

Constructors

RTextFieldCommands({VoidCallback? tapContainer, VoidCallback? tapLeading, VoidCallback? tapTrailing, VoidCallback? clearText})
const

Properties

clearText VoidCallback?
Clear the text field content.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tapContainer VoidCallback?
Request focus when the container is tapped.
final
tapLeading VoidCallback?
Handle leading slot tap (if wired by component).
final
tapTrailing VoidCallback?
Handle trailing slot tap (if wired by component).
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