ProgressBarStars constructor

const ProgressBarStars({
  1. Key? key,
  2. required double progress,
  3. List<double> starThresholds = const [0.33, 0.66, 1.0],
  4. double height = 20,
  5. Color? fillColor,
  6. Color? trackColor,
  7. String? semanticLabel,
  8. Duration staggerDuration = const Duration(milliseconds: 250),
  9. ValueChanged<int>? onStarPopped,
})

Implementation

const ProgressBarStars({
  super.key,
  required this.progress,
  this.starThresholds = const [0.33, 0.66, 1.0],
  this.height = 20,
  this.fillColor,
  this.trackColor,
  this.semanticLabel,
  this.staggerDuration = const Duration(milliseconds: 250),
  this.onStarPopped,
});