flutter_text_helpers 2.0.2 flutter_text_helpers: ^2.0.2 copied to clipboard
A widget collection which simplifies the usage of Text() and TextField(). No need to use Theme.of(context) to access textTheme elements like bodytext1 or headline1, etc. Also provides shortcuts for co [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_text_helpers
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_text_helpers: ^2.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_text_helpers/flutter_text_helpers.dart';