auto_hyphe 1.0.0
auto_hyphe: ^1.0.0 copied to clipboard
A text widget that automatically adds hyphenation. It was designed as a drop-in replacement for the default text widget. Added extra feature on auto_hyphenating_text package.
AutoHyphe is a drop in replacement for the default Text that supports autohyphenating text.

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");