TextOptions class

Constructors

TextOptions({Color? textColor = Colors.black, double? textSize = 20.0, bool? autoSizeText = false, int? minTextSize = 18, int? maxTextSize = 34, int? granularity = 2})
TextOptions.fromJson(String str)
factory
TextOptions.fromMap(Map<String, dynamic> json)
factory

Properties

autoSizeText bool?
getter/setter pair
granularity int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxTextSize int?
getter/setter pair
minTextSize int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textColor Color?
getter/setter pair
textSize double?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map
toString() String
A string representation of this object.
inherited

Operators

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