StyledText<T extends Text> extension

on
  • T

Properties

text string

Available on T, provided by the StyledText extension

no setter

Methods

align(TextAlign align) → T

Available on T, provided by the StyledText extension

baseLine(TextBaseline textBaseline) → T

Available on T, provided by the StyledText extension

bold() → T

Available on T, provided by the StyledText extension

centerText() → 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, TextScaler? textScaler, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, Color? selectionColor, TextHeightBehavior? textHeightBehavior}) Text

Available on T, provided by the StyledText extension

direction(TextDirection direction) → 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

textColor(Color? color) → T

Available on T, provided by the StyledText extension

textScale(TextScaler textScaler) → T

Available on T, provided by the StyledText extension

textShadow({Color color = const Color(0x34000000), 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

widthBasis(TextWidthBasis textWidthBasis) → T

Available on T, provided by the StyledText extension

withUnderLine() → T

Available on T, provided by the StyledText extension

wordSpacing(double space) → T

Available on T, provided by the StyledText extension