FxText class
Constructors
-
FxText(String text, {TextStyle? style, 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, FxTextType textType = FxTextType.b1, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.b1(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.b1, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.b2(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.b2, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.b3(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.b3, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.bodyLarge(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.bodyLarge, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.bodyMedium(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.bodyMedium, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.bodySmall(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.bodySmall, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.button(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.button, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.caption(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.caption, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.d1(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.d1, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.d2(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.d2, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.d3(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.d3, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.displayLarge(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.displayLarge, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.displayMedium(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.displayMedium, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.displaySmall(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.displaySmall, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.h1(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.h1, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.h2(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.h2, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.h3(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.h3, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.h4(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.h4, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.h5(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.h5, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.h6(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.h6, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.headlineLarge(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.headlineLarge, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.headlineMedium(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.headlineMedium, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.headlineSmall(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.headlineSmall, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.l1(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.l1, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.l2(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.l2, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.l3(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.l3, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.labelLarge(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.labelLarge, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.labelMedium(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.labelMedium, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.labelSmall(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.labelSmall, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.overline(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.overline, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.sh1(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.sh1, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.sh2(String text, {TextStyle? style, int? fontWeight = 500, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.sh2, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.t1(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.t1, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.t2(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.t2, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.t3(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.t3, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.titleLarge(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.titleLarge, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.titleMedium(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.titleMedium, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
-
FxText.titleSmall(String text, {TextStyle? style, int? fontWeight, bool muted = false, bool xMuted = false, double? letterSpacing, Color? color, TextDecoration decoration = TextDecoration.none, double? height, double wordSpacing = 0, double? fontSize, FxTextType textType = FxTextType.titleSmall, Key? key, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-