modelToViewValue method
Returns the value that must be supplied to the UI widget.
Converts value from control data type to UI data type.
Implementation
@override
double? modelToViewValue(int? modelValue) {
return modelValue?.toDouble();
}
Returns the value that must be supplied to the UI widget.
Converts value from control data type to UI data type.
@override
double? modelToViewValue(int? modelValue) {
return modelValue?.toDouble();
}