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

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

Changelog #

1.0.1 #

  • The LICENSE file is now the plain MIT text so pub.flutter-io.cn recognizes it; the pattern-file notices moved to NOTICE.md.
  • The package ships a runnable example/ Flutter app.

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.
0
likes
160
points
--
downloads

Documentation

API reference

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

MIT (license)

Dependencies

flutter, hyphenation

More

Packages that depend on flutter_hyphenation