Skip to content

impure/auto_hyphenating_text

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •