StyledText<T extends Text> extension

on
  • T

Methods

bold() → T

Available on T, provided by the StyledText extension

copyWith({String? data, TextStyle? style, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis}) → T

Available on T, provided by the StyledText extension

fontFamily(String? font) → T

Available on T, provided by the StyledText extension

fontSize(double? size) → T

Available on T, provided by the StyledText extension

fontWeight(FontWeight? fontWeight) → T

Available on T, provided by the StyledText extension

italic() → T

Available on T, provided by the StyledText extension

letterSpacing(double? space) → T

Available on T, provided by the StyledText extension

textAlignment(TextAlign? align) → T

Available on T, provided by the StyledText extension

textBaseline(TextBaseline? textBaseline) → T

Available on T, provided by the StyledText extension

textColor(Color? color) → T

Available on T, provided by the StyledText extension

textDirection(TextDirection? direction) → T

Available on T, provided by the StyledText extension

textElevation(double elevation, {double angle = 0.0, Color color = const Color(0x33000000), double opacityRatio = 1.0}) → T

Available on T, provided by the StyledText extension

textScale(double scaleFactor) → T

Available on T, provided by the StyledText extension

textShadow({Color color = const Color(0x33000000), double blurRadius = 0.0, Offset offset = Offset.zero}) → T

Available on T, provided by the StyledText extension

textStyle(TextStyle style) → T

Available on T, provided by the StyledText extension

textWidthBasis(TextWidthBasis? textWidthBasis) → T

Available on T, provided by the StyledText extension

wordSpacing(double? space) → T

Available on T, provided by the StyledText extension