ZetaTextStyle class

Typography in Zeta style.

We have decided to adopt IBM Plex Sans typeface for our digital solutions. This new typeface is clean, distinctive and designed for digital world use cases. The typeface is free and available in multiple languages, making it ideal for localization. More info can be found at: www.ibm.com/plex

Constructors

ZetaTextStyle({String fontFamily = kZetaFontFamily, Color? textColor})
Constructor for ZetaTextStyle.
const

Properties

bodyLarge TextStyle
Largest of the body styles.
no setter
bodyMedium TextStyle
Middle size of the body styles.
no setter
bodySmall TextStyle
Small size of the body styles.
no setter
bodyXSmall TextStyle
Smallest of the body styles.
no setter
displayLarge TextStyle
Largest of the display styles.
no setter
displayMedium TextStyle
Middle size of the display styles.
no setter
displaySmall TextStyle
Smallest of the display styles.
no setter
fontFamily String
Custom font family for the text styles.
final
h1 TextStyle
Largest heading style.
no setter
h2 TextStyle
Second largest heading style.
no setter
h3 TextStyle
Third largest heading style.
no setter
h4 TextStyle
Fourth largest heading style.
no setter
h5 TextStyle
Fifth largest heading style.
no setter
h6 TextStyle
Sixth largest heading style.
no setter
hashCode int
The hash code for this object.
no setterinherited
heading1 TextStyle
Largest of the headline styles.
no setter
heading2 TextStyle
Middle size of the headline styles.
no setter
heading3 TextStyle
Smallest of the headline styles.
no setter
labelIndicator TextStyle
Label text style used specifically for Indicator.
no setter
labelLarge TextStyle
Largest of the label styles.
no setter
labelMedium TextStyle
Middle size of the label styles.
no setter
labelSmall TextStyle
Small size of the label styles.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textColor Color?
Custom text color for the text styles.
final
textTheme TextTheme
Zeta.of(context).textStyles combined into a TextTheme.
no setter
titleLarge TextStyle
Largest of the title styles.
no setter
titleMedium TextStyle
Middle size of the title styles.
no setter
titleSmall TextStyle
Smallest of the title styles.
no setter

Methods

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

Operators

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