FuTextStyle class Null safety

Constructors

FuTextStyle()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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>
read-only
defaultLetterSpacing Map<ToolTextSize, double>
read-only
defaultTextSize Map<ToolTextSize, double>
read-only

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
boldTextStyle({int? size, Color? color, FontWeight? weight, String? fontFamily, double? letterSpacing, FontStyle? fontStyle, double? wordSpacing, TextDecoration? decoration, TextDecorationStyle? textDecorationStyle, TextBaseline? textBaseline, Color? decorationColor, Color? backgroundColor, double? height}) 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<ToolTextSize, double> defaultTextSize) → void
changeFontFamily(String fontFamily) → void
createRichText({required List<TextSpan> list, TextOverflow overflow = TextOverflow.clip, int? maxLines, TextAlign textAlign = TextAlign.left, TextDirection? textDirection, StrutStyle? strutStyle}) RichText
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
primaryTextStyle({int? size, Color? color, FontWeight? weight, String? fontFamily, double? letterSpacing, FontStyle? fontStyle, double? wordSpacing, TextDecoration? decoration, TextDecorationStyle? textDecorationStyle, TextBaseline? textBaseline, Color? decorationColor, Color? backgroundColor, double? height}) TextStyle
secondaryTextStyle({int? size, Color? color, FontWeight? weight, String? fontFamily, double? letterSpacing, FontStyle? fontStyle, double? wordSpacing, TextDecoration? decoration, TextDecorationStyle? textDecorationStyle, TextBaseline? textBaseline, Color? decorationColor, Color? backgroundColor, double? height}) 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