v3.0.0ff_stars
星级评价组件。功能强大且易于使用。高度可定制。
6喜欢 331近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
Flutter 星星评分组件
以下为英文项目原文快照,最新内容请访问 GitHub。

// integrated
dependencies:
ff_stars: ^3.0.0 // Support null safety (continuous maintenance)
ff_stars: ^0.1.6 // Do not support null safety (follow-up no longer maintenance)
// Introduce
import 'package:ff_stars/ff_stars.dart';
FFStars(
normalStar: Image.asset("assets/normalImage.png"),
selectedStar: Image.asset("assets/selectedImage.png"),
starsChanged: (realStars, selectedStars) {
print("real: $selectedStars, final: $realStars");
},
step: 0.01,
defaultStars: 3.5,
// starCount: 5,
// starHeight: 40,
// starWidth: 40,
// starMargin: 20,
// justShow: true,
// rounded: true,
// followChange: true,
),
https://github.com/flutting/ff_stars
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗