hyphen 0.2.0
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
hnjHyphenate2
→hyphenate
hnjHyphenate3
→hyphenate
- 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
- iOS, Android, macOS, Windows, Linux via
- Support for both
hnj_hyphenate2
andhnj_hyphenate3
modes - Utility to apply hyphenation marks and insert custom separators
- Documentation and minimal examples included