auto_text_resizer 1.0.1
auto_text_resizer: ^1.0.1 copied to clipboard
A lightweight Flutter widget that automatically adjusts and resizes text to perfectly fit within its container. Ideal for dynamic layouts, buttons, cards, and titles where text size must adapt to avai [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add auto_text_resizer
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
auto_text_resizer: ^1.0.1
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:auto_text_resizer/auto_text_resizer.dart';