TextInputElement class

Represents a text input model class , used to draw text input element .

Inheritance

Constructors

TextInputElement({String elementType = UIElementTypeConstants.textInput, required String elementId, required String label, int maxLines = 1, TextInputPlaceholder? placeholder, String? response, String? defaultValue, bool? optional = true})
TextInputElement.fromMap(dynamic map)
factory

Properties

defaultValue ↔ String?
getter/setter pairinherited
elementId ↔ String
getter/setter pairinherited
elementType ↔ String
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
label ↔ String
getter/setter pair
maxLines ↔ int
getter/setter pair
optional ↔ bool
getter/setter pairinherited
placeholder ↔ TextInputPlaceholder?
getter/setter pair
response ↔ String?
getter/setter pairinherited
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
toMap() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited
validateResponse() → bool
override

Operators

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