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

outdated

This is a scoring widget with star. You can create a star easily and decide how many angle or color of the star, even the fat and progress of the star. Use StarScore widget ,you can show a grade by 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

This is a scoring widget with star. You can create a star easily and decide how many angle or color of the star, even the fat and progress of the star. Use StarScore widget ,you can show a grade by star.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_star