auto_hyphenating_text 0.2.0 copy "auto_hyphenating_text: ^0.2.0" to clipboard
auto_hyphenating_text: ^0.2.0 copied to clipboard

A text widget that automatically adds hyphenation. It was designed as a drop-in replacement for the default text widget.

AutoHyphenatingText is a drop in replacement for the default Text that supports autohyphenating text.

Demo

Usage #

This package needs to be initialized using the following:

await initHyphenation();

This will load the hyphenation algorithm. You can skip this step if you manually initialized the hyphenation algorithm yourself.

Then it can be used as a drop in replacement for normal text. So

Text("abc");

becomes

AutoHyphenatingText("abc");
25
likes
150
pub points
88%
popularity
screenshot

Publisher

unverified uploader

A text widget that automatically adds hyphenation. It was designed as a drop-in replacement for the default text widget.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, hyphenator_impure

More

Packages that depend on auto_hyphenating_text