TextExtension extension
Properties
-
bold
→ Text
-
Bold - FontWeight.bold - FontWeight.w700
no setter
-
Extra-bold - FontWeight.w800
no setter
-
Extra-light - FontWeight.w200
no setter
-
light
→ Text
-
Light - FontWeight.w300
no setter
-
lineThrough
→ Text
-
no setter
-
medium
→ Text
-
Medium - FontWeight.w500
no setter
-
mostThick
→ Text
-
The most thick - FontWeight.w900
no setter
-
overline
→ Text
-
no setter
-
regular
→ Text
-
Regular - FontWeight.w400
no setter
-
semiBold
→ Text
-
Semi-bold - FontWeight.w600
no setter
-
thin
→ Text
-
Thin, the least thick - FontWeight.w100
no setter
-
underline
→ Text
-
no setter
Methods
-
align(TextAlign align)
→ Text
-
-
color(Color color)
→ Text
-
-
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, Color? selectionColor, TextHeightBehavior? textHeightBehavior})
→ Text
-
-
fontFamily(String font)
→ Text
-
-
fontSize(double size)
→ Text
-
-
fontWeight(FontWeight fontWeight)
→ Text
-
-
letterSpacing(double space)
→ Text
-
-
overflow(TextOverflow overflow)
→ Text
-
-
scale(double scaleFactor)
→ Text
-
-
selectionColor(Color color)
→ Text
-
-
textBaseline(TextBaseline textBaseline)
→ Text
-
-
textDirection(TextDirection direction)
→ Text
-
-
textWidthBasis(TextWidthBasis textWidthBasis)
→ Text
-
-
wordSpacing(double space)
→ Text
-