Skip to main content

flutter_hyphenation 1.0.0 copy "flutter_hyphenation: ^1.0.0" to clipboard
flutter_hyphenation: ^1.0.0 copied to clipboard

HyphenText, a drop-in replacement for Flutter's Text that hyphenates long words correctly using TeX hyphenation patterns.

Changelog #

1.0.0 #

Initial release.

  • HyphenText, a drop-in replacement for Text that hyphenates long words using TeX hyphenation patterns, and HyphenParagraph, the render object behind it.
  • HyphenScope, providing a hyphenator to a subtree, and HyphenationRegistry, holding app-wide pattern sets keyed by locale.
  • HyphenatorAsset.fromAsset, loading and compiling a hyphenator from the asset bundle.
  • An asset transformer entry point that rewrites a pattern file as nothing but its pattern groups, so the TeX prose never reaches the app bundle.
  • Broken lines are memoised per width, style, scaler, strut, direction and locale on the shared hyphenator.
1
likes
0
points
368
downloads

Publisher

verified publisherarxdeus.dev

Weekly Downloads

HyphenText, a drop-in replacement for Flutter's Text that hyphenates long words correctly using TeX hyphenation patterns.

Homepage
Repository (GitHub)
View/report issues

Topics

#text #typography #hyphenation

License

unknown (license)

Dependencies

flutter, hyphenation

More

Packages that depend on flutter_hyphenation