IrTextStyle class
Constructors
Properties
- color → IrColor
-
final
- fontFamily → String
-
final
- fontSize → double
-
final
- fontWeight → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- italic → bool
-
final
- letterSpacing → double
-
final
- lineHeight → double?
-
Absolute line height in logical pixels; null means font default.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → String?
-
Text style token whose typography this matches exactly, e.g.
TextTheme/bodyMedium. Color is not part of typography.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sameTypography(
IrTextStyle o) → bool - Same font, size, weight, slant, line height and letter spacing.
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
-
withToken(
String? token) → IrTextStyle
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Object? json) → IrTextStyle