MyText class
Constructors
-
MyText(String text, {Key? key, 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, MyTextType textType = MyTextType.bodyMedium, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.bodyLarge(String text, {Key? key, 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, MyTextType textType = MyTextType.bodyLarge, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.bodyMedium(String text, {Key? key, 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, MyTextType textType = MyTextType.bodyMedium, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.bodySmall(String text, {Key? key, 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, MyTextType textType = MyTextType.bodySmall, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.displayLarge(String text, {Key? key, 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, MyTextType textType = MyTextType.displayLarge, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.displayMedium(String text, {Key? key, 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, MyTextType textType = MyTextType.displayMedium, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.displaySmall(String text, {Key? key, 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, MyTextType textType = MyTextType.displaySmall, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.headlineLarge(String text, {Key? key, 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, MyTextType textType = MyTextType.headlineLarge, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.headlineMedium(String text, {Key? key, 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, MyTextType textType = MyTextType.headlineMedium, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.headlineSmall(String text, {Key? key, 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, MyTextType textType = MyTextType.headlineSmall, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.labelLarge(String text, {Key? key, 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, MyTextType textType = MyTextType.labelLarge, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.labelMedium(String text, {Key? key, 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, MyTextType textType = MyTextType.labelMedium, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.labelSmall(String text, {Key? key, 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, MyTextType textType = MyTextType.labelSmall, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.titleLarge(String text, {Key? key, 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, MyTextType textType = MyTextType.titleLarge, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.titleMedium(String text, {Key? key, 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, MyTextType textType = MyTextType.titleMedium, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const
-
MyText.titleSmall(String text, {Key? key, 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, MyTextType textType = MyTextType.titleSmall, TextAlign? textAlign, int? maxLines, Locale? locale, TextOverflow? overflow, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis})
-
const