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.

0.2.0 #

  • Now using the new textScaler introduced in Flutter 3.16 (requires Flutter 3.16)

0.1.3 #

  • Now soft hyphens are taken into consideration (#12)

0.1.2 #

  • Now if we have ellipsis disable hyphenation (#5)
  • Moved files around

0.1.1 #

  • Text can now be selectable using the new selectable parameter (#9)

0.1.0 #

  • Now TextOverflow.ellipsis should work properly
  • Hyphenation character can be customized (#8)

0.0.6 #

  • Fixed a bug where max lines would not work properly if we had hyphenation
  • Added an example

0.0.5 #

  • Now if we hyphenate right after a punctuation character do not add another hyphen

0.0.4 #

  • Fixed incorrect semantics

0.0.3 #

  • Fixed build() modifying text which could result in weird behaviour if Flutter is forced to rebuild the widget (visible when going home and returning to the app on iOS)
  • Added the shouldHyphenate parameter which allows for blocking hyphenation in certain scenarios

0.0.2 #

  • Fixed a crash due to migrating to a custom version of hyphenator
  • Now display an error if uninitialized

0.0.1 #

  • Initial release
25
likes
150
pub points
87%
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