auto_hyphenating_text
auto_hyphenating_text copied to clipboard
[Proposal] Split the package into multiple small language packs
Currently, all language files under /assets/ folder from package hyphenator_impure will be included. This will significantly increase the bundle size if we only want to use one or two languages.
We can split hyphenator_impure into multiple packages:
- auto_hyphenating_text
- hyphenator_language_enUS
- hyphenator_language_enGB
- hyphenator_language_de1996
- ...
hyphenator_impure was only supposed to be a temporary fork until the latest version of hyphenator got published to pub.dev. But as it still hasn't happened yet I guess I could do that. I'm not exactly sure how this would work though. Does it mean the user would have to specify which hyphenator package they want to use manually?