TextOptions class

Inheritance

Constructors

TextOptions.new({required String text, TextAlign textAlign = TextAlign.center, TextStyle style = const TextStyle(fontSize: 18, color: Colors.black, fontWeight: FontWeight.w600)})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle
final
text String
final
textAlign TextAlign
final

Methods

copyWith({String? text, TextAlign? textAlign, TextStyle? style}) TextOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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