v0.3.1auto_hyphenating_text
一個自動添加連字號的文本組件。它被設計為預設文本組件的即插即用替代品。
36喜歡 9900近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
impure/auto_hyphenating_text open-source repository details.
{"sdk":"flutter"}^0.1.1{"sdk":"flutter"}^2.0.0以下為英文專案原文快照,最新內容請造訪 GitHub。
AutoHyphenatingText is a drop in replacement for the default Text that supports autohyphenating text.
Demo
This package needs to be initialized using the following:
await initHyphenation();
This will load the hyphenation algorithm. You can skip this step if you manually initialized the hyphenation algorithm yourself.
Then it can be used as a drop in replacement for normal text. So
Text("abc");
becomes
AutoHyphenatingText("abc");