StringExt extension

on

Properties

filename String

Available on String, provided by the StringExt extension

no setter
suffix String

Available on String, provided by the StringExt extension

no setter

Methods

fixAutoLines() String

Available on String, provided by the StringExt extension

插入空白符号防止被text自动换行
formatColorRichText(List<TextStyle> styles, {TextAlign textAlign = TextAlign.left, TextOverflow overflow = TextOverflow.visible, RegExp? regex}) RichText

Available on String, provided by the StringExt extension

formatRichTextWithWord(String keyWord, List<TextStyle> styles, {TextAlign textAlign = TextAlign.left, TextOverflow overflow = TextOverflow.visible}) RichText?

Available on String, provided by the StringExt extension

paintHeightWithTextStyle(TextStyle style, {required double maxWidth}) double

Available on String, provided by the StringExt extension

paintTextSize(TextStyle style, {double maxWidth = double.infinity}) Size

Available on String, provided by the StringExt extension

paintWidthWithTextStyle(TextStyle style, {double? maxWidth}) double

Available on String, provided by the StringExt extension

toColor() Color

Available on String, provided by the StringExt extension