text_size 0.5.1 copy "text_size: ^0.5.1" to clipboard
text_size: ^0.5.1 copied to clipboard

A simple extension to determine TextSpan or String size before render it.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add text_size

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

dependencies:
  text_size: ^0.5.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:text_size/text_size.dart';
2
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A simple extension to determine TextSpan or String size before render it.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on text_size