hyphen 0.2.0 copy "hyphen: ^0.2.0" to clipboard
hyphen: ^0.2.0 copied to clipboard

A cross-platform Flutter plugin that provides high-quality word hyphenation.

0.2.0 #

Breaking changes:

  • Added unified API for hnjHyphenate2 and hnjHyphenate3
  • hnjHyphenate2hyphenate
  • hnjHyphenate3hyphenate
  • Returns List

Migration:

  • hnjHyphenate2(word)hyphenate(word)
  • hnjHyphenate3(word, lhmin: 3, rhmin: 4)hyphenate(text, lhmin: 3, rhmin: 4)

Non-breaking changes:

  • Optimized reading the dictionary encoding
  • Fixed a bug that occurred when creating multiple Hyphen instances on Web

0.1.4 #

  • Added more detailed instructions on how to obtain dictionary files
  • Removed any mentions of "Hyphenator" (which was the plugin's working title)

0.1.3 #

  • Added support for UTF-8-encoded dictionary files

0.1.2 #

  • Fixed formatting issues

0.1.1 #

  • Removed unnecessary analysis options
  • Fixed warnings caused by using "<>" in doc comments

0.1.0 #

  • Initial release of Hyphen 🎉
  • Cross-platform hyphenation for Flutter:
    • iOS, Android, macOS, Windows, Linux via dart:ffi
    • Web via JavaScript/WASM runtime
  • Support for both hnj_hyphenate2 and hnj_hyphenate3 modes
  • Utility to apply hyphenation marks and insert custom separators
  • Documentation and minimal examples included
2
likes
150
points
447
downloads

Publisher

unverified uploader

Weekly Downloads

A cross-platform Flutter plugin that provides high-quality word hyphenation.

Repository (GitHub)
View/report issues

Topics

#hyphenation #hyphen #ffi #wasm

Documentation

API reference

License

unknown (license)

Dependencies

characters, ffi, flutter, http, path, plugin_platform_interface, web

More

Packages that depend on hyphen

Packages that implement hyphen