StyledText<T extends Text> extension
Extensions for accessing functionality of the Text
widget.
- on
-
- T
Methods
-
bold(
) → T -
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}) → Text -
fontFamily(
String font) → T -
fontSize(
double size) → T -
fontWeight(
FontWeight fontWeight) → T -
italic(
) → T -
letterSpacing(
double space) → T -
textAlignment(
TextAlign align) → T -
textBaseline(
TextBaseline textBaseline) → T -
textColor(
Color color) → T -
textDirection(
TextDirection direction) → T -
textScale(
TextScaler textScaler) → T -
textShadow(
{Color color = const Color(0x34000000), double blurRadius = 0.0, Offset offset = Offset.zero}) → T -
textStyle(
TextStyle? style) → T -
textWidthBasis(
TextWidthBasis textWidthBasis) → T -
withUnderLine(
) → T -
wordSpacing(
double space) → T