StarRatingController constructor

StarRatingController([
  1. double value = 0.0
])

Creates a StarRatingController with the given initial value.

The value parameter sets the initial rating value. Defaults to 0.0 if not specified. The value should typically be within the range supported by the star rating widget (0.0 to max value).

Parameters:

  • value (double, default: 0.0): Initial rating value

Implementation

StarRatingController([super.value = 0.0]);