MaterialTextFieldStateAdapter class

Adapts RTextFieldState to the flag set expected by InputDecorator.

Pure data adapter — no widget tree, no side effects.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

expands(RTextFieldState state) bool
Whether the field should expand to fill available space.
isEmpty(RTextFieldState state) bool
Whether the field text is empty (no user input).
isEnabled(RTextFieldState state) bool
Whether the field is enabled (interactive).
isFocused(RTextFieldState state) bool
Whether the field is currently focused.
isHovering(RTextFieldState state) bool
Whether the pointer is hovering over the field.