textPretty method

TextBuilder textPretty()

text-pretty: text-wrap: pretty; ⚠️ 部分支持:Flutter 没有直接的 pretty 支持,使用默认换行

Implementation

TextBuilder textPretty() {
  _maxLines = null; // 允许多行,尽可能美观显示
  return this;
}