FontTools class

Constructors

FontTools({required String styleName, RgbModel? headerColor1To3, RgbModel? headerColor4To5, RgbModel? defaultColor, RgbModel? highlightColor, RgbModel? linkColor})

Properties

defaultColor → RgbModel?
final
fontKeys List<String>
getter/setter pair
fontNames List<String>
getter/setter pair
fonts Map<String, FontModel>
final
hashCode int
The hash code for this object.
no setterinherited
headerColor1To3 → RgbModel?
final
headerColor4To5 → RgbModel?
final
highlightColor → RgbModel?
final
linkColor → RgbModel?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleName String
final

Methods

getFont(String fontKey) → FontModel?
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

Static Properties

dancingScriptLabel String
getter/setter pair
decorations List<EliudFontDecoration>
getter/setter pair
defaultStyleName String
getter/setter pair
h1Label String
getter/setter pair
h2Label String
getter/setter pair
h3Label String
getter/setter pair
h4Label String
getter/setter pair
h5Label String
getter/setter pair
highlightLabel1 String
getter/setter pair
highlightLabel2 String
getter/setter pair
latoLabel String
getter/setter pair
linkLabel String
getter/setter pair
normalLabel String
getter/setter pair
robotoLabel String
getter/setter pair
smallLabel String
getter/setter pair
textFieldHeaderLabel String
getter/setter pair

Static Methods

defaultFontHighlight1() → FontModel
defaultFontHighlight2() → FontModel
defaultFontSmallText() → FontModel
defaultFontText() → FontModel
defaultFontTools() FontTools
defaultH1() → FontModel
defaultH2() → FontModel
defaultH3() → FontModel
defaultH4() → FontModel
defaultH5() → FontModel
key(String styleName, String fontLabel, String styleLabel) String
textStyle(FontModel? fontModel) TextStyle?
toFontWeight(EliudFontWeight? eliudFontWeight) FontWeight