v6.6.6textless
少即是多;无组件文本
少即是多;无组件文本
以下为英文项目原文快照,最新内容请访问 GitHub。
Less is More; Widgetless Text

Add this to your package's pubspec.yaml file:
...
dependencies:
textless: ^6.6.6
Now in your Dart code, you can use:
import 'package:textless/textless.dart';
TEXTLESS magically uses
MaterialApp's default text theme
[ Start with ] .h1 .h2 .h3 .h4 .h5 .h6 .s1 .s2 .b1 .b2 .btn .cap .ol .text .style
[ End_ with ] .lineThrough .underline .overline .color .backgroundColor .size .height .italic .thin .extraLight .light .regular .medium .semiBold .bold .extraBold .black .solidLine .dottedLine .doubledLine .wavyLine .dashedLine .lineColor .lineThickness .alphabeticBaseline .ideographicBaseline .fontFamily .letterSpacing .wordSpacing .locale .foreground .shadows .fontFeatures .overflowVisible .overflowClip .overflowEllipsis .overflowFade .maxLine .scaleFactor .alignLeft .alignRight .alignCenter .alignJustify .alignStart .alignEnd .softWrap

依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗