onCompleted property
The callback function that is triggered when the user has completed the rating process, after a touch or drag event has ended. The callback will emit the rate value at the position where the pointer was released. This can be used to get the final rating selected by the user.
Implementation
final ValueChanged<double>? onCompleted;