TextDisplay extension
- on
Methods
-
text(
{Key? key, TextStyle? style, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior}) → Text -
Available on String, provided by the TextDisplay extension
从字符串生成文本控件 >>>
-
textAction(
{Key? key, required BuildContext context, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior}) → Text -
Available on String, provided by the TextDisplay extension
从字符串生成按钮文本控件 >>>
-
textBodyBold(
{Key? key, required BuildContext context, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior}) → Text -
Available on String, provided by the TextDisplay extension
从字符串生成粗文本控件 >>>
-
textBodyNormal(
{Key? key, required BuildContext context, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior}) → Text -
Available on String, provided by the TextDisplay extension
从字符串生成标准文本控件 >>>
-
textSpan(
{TextStyle? style, Function onTap()?}) → TextSpan -
Available on String, provided by the TextDisplay extension
从字符串生成富文件组件 >>>
-
textSubtitle(
{Key? key, required BuildContext context, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior}) → Text -
Available on String, provided by the TextDisplay extension
从字符串生成子标题文本控件 >>>
-
textTitle(
{Key? key, required BuildContext context, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior}) → Text -
Available on String, provided by the TextDisplay extension
从字符串生成标题文本控件 >>>