getValueByPosition method
Implementation
double getValueByPosition(double position) {
double value = ((position / (__containerSizeWithoutPadding! / _divisions)) * _widgetStep!);
value = (double.parse(value.toStringAsFixed(_decimalScale)) -
double.parse((value % _widgetStep!).toStringAsFixed(_decimalScale)));
return value;
}