text_autosize 0.1.3 copy "text_autosize: ^0.1.3" to clipboard
text_autosize: ^0.1.3 copied to clipboard

Automatically resize text to fit its bounds: shrink the font until the text fits the available width, height and maxLines. TextScaler-aware, API-compatible with auto_size_text.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add text_autosize

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  text_autosize: ^0.1.3

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:text_autosize/text_autosize.dart';
0
likes
160
points
158
downloads
screenshot

Documentation

API reference

Publisher

verified publisherdeveloperyusuf.com

Weekly Downloads

Automatically resize text to fit its bounds: shrink the font until the text fits the available width, height and maxLines. TextScaler-aware, API-compatible with auto_size_text.

Repository (GitHub)
View/report issues

Topics

#text #autosize #typography #responsive #widget

License

MIT (license)

Dependencies

flutter

More

Packages that depend on text_autosize