optimal_wrap_text 1.0.1 copy "optimal_wrap_text: ^1.0.1" to clipboard
optimal_wrap_text: ^1.0.1 copied to clipboard

A Flutter Text replacement that wraps short multi-line text over similarly sized lines for better visual balance.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add optimal_wrap_text

With Flutter:

 $ flutter pub add optimal_wrap_text

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

dependencies:
  optimal_wrap_text: ^1.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:optimal_wrap_text/optimal_wrap_text.dart';
21
likes
0
points
297
downloads

Publisher

verified publishercommingle.app

Weekly Downloads

A Flutter Text replacement that wraps short multi-line text over similarly sized lines for better visual balance.

Homepage
Repository (GitHub)
View/report issues

Topics

#text #wrapping #ui #readability #responsive

License

unknown (license)

Dependencies

flutter

More

Packages that depend on optimal_wrap_text