Skip to content

devjiangzhou/line_break

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line_break

支持 Dart 版本 Unicode 12 Line Break 算法, 参考自

libunibreak NLineBreak

Getting Started

enum LineBreakResult {
  //必须换行
  must,
  //允许换行
  allowed,
  //禁止换行
  prohibited,
  //默认
  none,
}
List<LineBreakResult> findLineBreaks(String text, [String lang])

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages