TextInfo class

Annotations
  • @JsonSerializable()

Constructors

TextInfo.new(String key, {required String text, double? fontSize, Color? color, bool isBold = false, int? lines, TextAlign? textAlign})
TextInfo.fromJson(Map<String, dynamic> json)
factory

Properties

color Color?
getter/setter pair
fontSize double?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isBold bool
getter/setter pair
key String
getter/setter pair
lines int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
getter/setter pair
textAlign TextAlign?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Connect the generated _$PersonToJson function to the toJson method.
toString() String
A string representation of this object.
inherited

Operators

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