TextBuilder class

A builder for text input component.

Constructors

TextBuilder(String customId)

Properties

customId String
Gets the label of this.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
label String
Gets the label of this.
no setterinherited
maxLength int?
Gets the maximum length of this.
no setterinherited
minLength int?
Gets the minimum length of this.
no setterinherited
placeholder String?
Gets the placeholder of this.
no setterinherited
required bool
Gets the required state of this.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style → TextInputStyle
Gets the TextInputStyle of this.
no setterinherited
value String?
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLabel(String value) → void
Sets the label of this.
inherited
setMaxLength(int value) → void
Sets the maximum length of this.
inherited
setMinLength(int value) → void
Sets the minimum length of this.
inherited
setPlaceholder(String value) → void
Sets the placeholder of this.
inherited
setRequired(bool value) → void
Sets the required state of this.
inherited
toJson() Map<String, dynamic>
Serialize this component to a JSON object.
inherited
toString() String
A string representation of this object.
inherited

Operators

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