AiutaTextStyle class

Represents the text style used in the Aiuta app.

Annotations
  • @JsonSerializable()

Constructors

AiutaTextStyle.new({required String fontFamily, required double fontSize, required AiutaFontWeight fontWeight, required double letterSpacing, required double lineHeight})
Creates an AiutaTextStyle with the specified fontFamily, fontSize, fontWeight, letterSpacing, and lineHeight.
AiutaTextStyle.fromJson(Map<String, dynamic> json)
factory

Properties

fontFamily String
The font family used for the text style.
final
fontSize double
The font size used for the text style.
final
fontWeight AiutaFontWeight
The font weight used for the text style.
final
hashCode int
The hash code for this object.
no setterinherited
letterSpacing double
The letter spacing used for the text style.
final
lineHeight double
The line height used for the text style.
final
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() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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