TextAlignment class
TextAlignment: Left, Center, Right
Constructors
- TextAlignment.fromJson(dynamic data)
- Creates a TextAlignment instance from a JSON representation.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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(
) → String? - Returns a JSON representation of TextAlignment.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- Center → TextAlignment
-
final
- Left → TextAlignment
-
final
- Right → TextAlignment
-
final
Static Methods
-
listFromJson(
List json) → List< TextAlignment> - Converts a list of JSON objects to a list of TextAlignment instances.