flutter_star 0.0.6 copy "flutter_star: ^0.0.6" to clipboard
flutter_star: ^0.0.6 copied to clipboard

outdated

You can create a star easily and decide how many angle or color of the star, even the fat and progress of the star.

一、描述

[1] . 可定义星星的进度情况
[1] . 可定义星星的角数、颜色、大小
配置Star类字段
名称 类型 功能 备注
progress double 填充的进度 [0,1]
num int 星星的角数 大于3
fat double 星星的胖瘦 (0,1]
emptyColor Color 星星的色 -
fillColor Color 星星的填充色 -
size double 星星的大小 -

二、展示

1. 进度填充:progress


2. 星星的角数:num


3. 星星的胖瘦:fat


4. 星星的颜色:fillColor和emptyColor


附赠显示星星评分
StarScore(
  score: 4.8,
  star: Star(
      fillColor: Colors.tealAccent,
      emptyColor: Colors.grey.withAlpha(88)),
)

14
likes
0
pub points
87%
popularity

Publisher

verified publishertoly1994.com

You can create a star easily and decide how many angle or color of the star, even the fat and progress of the star.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_star