StarBar constructor
const
StarBar({})
Implementation
const StarBar(
{Key? key,
required this.maxStarCount,
this.starCount = 1,
this.starSize = 25,
this.highlightStar,
this.normalStar,
this.normalColor = const Color(0xFFEBEBEB),
this.highlightColor = const Color(0xFFF09630),
this.onStarChanged})
: assert(
maxStarCount >= starCount && starCount >= 0,
(normalStar == null && highlightStar == null) ||
(normalStar != null && highlightStar != null)),
super(key: key);