NiceRating constructor
const
NiceRating({
- Key? key,
- double value = 0,
- void onChanged()?,
- int count = 5,
- double size = 32,
- Color? activeColor,
- Color? inactiveColor,
- bool allowHalf = false,
- bool allowClear = true,
- bool readonly = false,
- IconData activeIcon = Icons.star,
- IconData inactiveIcon = Icons.star_border,
- IconData? halfIcon = Icons.star_half,
- String? label,
Implementation
const NiceRating({
super.key,
this.value = 0,
this.onChanged,
this.count = 5,
this.size = 32,
this.activeColor,
this.inactiveColor,
this.allowHalf = false,
this.allowClear = true,
this.readonly = false,
this.activeIcon = Icons.star,
this.inactiveIcon = Icons.star_border,
this.halfIcon = Icons.star_half,
this.label,
});