bettertext 1.0.0 bettertext: ^1.0.0 copied to clipboard
An Easy way to use flutter Text widget with most commonly used properties only
Bored of using text widget and have to specify style:TextStyle every time you want to change the fontsize or color of the text, here you find the solution
Features #
Text() widget wrapped with BetterText class to provide easy access to color,fontsize,fontweight and other properties
Instead of using
Text(
'sample text',
align: TextAlign.center,
style : TextStyle(
fontSize: your_size
color: your_color
fontweight: Fontweight.bold
))
Use
BetterText('sample text', al:TextAlign.center,sz:your_size,cl:your_color,wt:Fontweight.bold)
Getting started #
TODO: List prerequisites and provide or point to information on how to start using the package.
Usage #
TODO: Include short and useful examples for package users. Add longer examples
to /example
folder.
const like = 'sample';
Additional information #
TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.