NiceRating constructor
const
NiceRating({ - Key? key,
- required double value,
- ValueChanged<double>? onChanged,
- int max = 5,
- IconData icon = Icons.star,
- IconData emptyIcon = Icons.star_border,
- IconData halfIcon = Icons.star_half,
- double size = 28,
- Color? color,
- bool allowHalf = false,
- bool readOnly = false,
- String? label,
})
Implementation
const NiceRating({
super.key,
required this.value,
this.onChanged,
this.max = 5,
this.icon = Icons.star,
this.emptyIcon = Icons.star_border,
this.halfIcon = Icons.star_half,
this.size = 28,
this.color,
this.allowHalf = false,
this.readOnly = false,
this.label,
});