FTxTextStyle class

Constructors

FTxTextStyle()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

defaultFontWeight Map<int, FontWeight>
no setter
defaultLetterSpacing Map<FTxTextSize, double>
no setter
defaultTextSize Map<FTxTextSize, double>
no setter

Static Methods

b1({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
b2({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
button({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
caption({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing = 0, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
changeDefaultFontWeight(Map<int, FontWeight> defaultFontWeight) → void
changeDefaultTextSize(Map<FTxTextSize, double> defaultTextSize) → void
changeFontFamily(Function fontFamily) → void
getStyle({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double letterSpacing = 0.15, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
h1({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
h2({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
h3({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
h4({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
h5({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
h6({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
overline({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
sh1({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle
sh2({TextStyle? textStyle, int fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize}) TextStyle