TextComponentOptions class
FormComponentOptions for Text Based Components
- Inheritance
-
- Object
- FormComponentOptions
- TextComponentOptions
Constructors
- TextComponentOptions({bool multi = false, String? placeholder, String? description, String? label})
- Creates Options
-
TextComponentOptions.fromJson(Map<
String, dynamic> json) -
Deserializes
json
into TextComponentOptions
Properties
- description → String?
-
Description that describes the Component
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- label → String?
-
Label to be used instead of FormComponent.property
final
- multi → bool
-
Determines if the Textfield is growable defaults to false
final
- placeholder → String?
-
Placeholder Text
final
- 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
-
toJson(
) → Map< String, dynamic> -
Serializes TextComponentOptions to json
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override