BadInputController<T extends BadInput> class
Constructors
Properties
- hasError → bool
-
whether the input is in error state
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputType → Type?
-
runtime type of the input, more for internal use
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
current input content
no setter
Methods
-
clear(
) → void -
dispose(
) → void -
focus(
) → void - focus on the input
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setError(
[String? error]) → void -
set error message, pass
null
to clear the error message -
setText(
String text) → void - set content
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited