InputController class

Input controller class that provides methods to interact with input elements.

Constructors

InputController({HTMLElement? input})

Properties

hashCode int
The hash code for this object.
no setterinherited
input HTMLElement?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

blur() → void
Blur the input element.
clear() → void
focus() → void
Focus on the input element.
getValue() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onTextChange(void callback(String)) → void
select() → void
Select the input element.
setPlaceholder(String value) → void
setValue(String value) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

of(Component input) InputController
Create an instance of InputController from a component.