textless 5.5.5 textless: ^5.5.5 copied to clipboard
Less is More; Widgetless Text
T E X T L E S S #
Less is More; Widgetless Text
Getting Started #
Add this to your package's pubspec.yaml
file:
...
dependencies:
textless: ^5.5.5
Now in your Dart code, you can use:
import 'package:textless/textless.dart';
Usage #
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