Skip to content

sooxt98/textless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T E X T L E S S

    

Less is More; Widgetless Text

image

Getting Started

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';

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

image