FLUTTER ECOSYSTEM

impure/auto_hyphenating_text

impure/auto_hyphenating_text open-source repository details.

自動連字元文字 專案封面
Stars
29
Forks
17
最近推送(UTC)
2026年7月1日
專案狀態
未封存
Andrew Zuo GitHub avatar
GITHUB User

Andrew Zuo ↗

語言DartC++CMakeHTMLCSwiftKotlinObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 4 項
  • flutter{"sdk":"flutter"}
  • hyphenator_impure^0.1.1
  • flutter_test開發依賴{"sdk":"flutter"}
  • flutter_lints開發依賴^2.0.0

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

AutoHyphenatingText is a drop in replacement for the default Text that supports autohyphenating text.

Demo

Usage

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");