setCallBack method
ReturnValue
The function _setCallBack calls the speedSelected function with a double value as an argument.
Args: value (double): The value parameter is a double value that is passed to the _setCallBack function.
Implementation
void setCallBack(double value) {
widget.speedSelected(value);
}