Skip to content

liu2080019/stroke-font

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stroke_font

描边字

截止到flutter 1.17版本,暂无描边字功能。之前用shadow做出来的效果,不满意,还是需要绘制字体才是正宗的。

/// 参数

/// 文字内容
String fontStr

/// 文字大小
double fontSize, 
 
/// 可选参数一:描边颜色 default:Colors.black
Color strokeColor

/// 可选参数二:填充色 default:Colors.white
Color fillColor

/// 可选参数二:描边宽度 default: 2.0
double strokeWidth

About

flutter描边字

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages