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
library bettertext;
import 'package:bettertext/bettertext.dart';
/// A Calculator.
///
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
child: BetterText(
text: 'sample_text',
cl: Colors.red,
sz: 25.0,
wt: FontWeight.w900,
),
);
}
}