FTxText class
Constructors
-
FTxText(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.b1(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.b2(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.button(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.caption(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.h1(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.h2(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.h3(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.h4(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.h5(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.h6(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.overline(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.sh1(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-
-
FTxText.sh2(String text, {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, FTxTextSize fxTextSize = FTxTextSize.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})
-