ApperoTypography class
Typography configuration for Appero SDK themes.
Defines font sizes, weights, and optional custom font family. Supports text scaling up to 200%.
Constructors
- ApperoTypography({double titleLargeFontSize = 22.0, FontWeight titleLargeFontWeight = FontWeight.bold, double bodyMediumFontSize = 16.0, FontWeight bodyMediumFontWeight = FontWeight.normal, double labelLargeFontSize = 16.0, FontWeight labelLargeFontWeight = FontWeight.w500, double bodySmallFontSize = 14.0, FontWeight bodySmallFontWeight = FontWeight.normal, String? fontFamily})
-
const
Properties
- bodyMediumFontSize → double
-
Font size for body text (e.g., questions, descriptions)
final
- bodyMediumFontWeight → FontWeight
-
Font weight for body text
final
- bodySmallFontSize → double
-
Font size for small text (e.g., character counters)
final
- bodySmallFontWeight → FontWeight
-
Font weight for small text
final
- fontFamily → String?
-
Optional custom font family name
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelLargeFontSize → double
-
Font size for labels (e.g., buttons)
final
- labelLargeFontWeight → FontWeight
-
Font weight for labels
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titleLargeFontSize → double
-
Font size for large titles (e.g., dialog title)
final
- titleLargeFontWeight → FontWeight
-
Font weight for large titles
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Converts this typography configuration to a map for platform channel communication
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited