found a bug when min equals max the method of
double valueToPercentage(double value, double min, double max) { return value / ((max - min) / 100); }
in utils.dart return NaN because of division by zero.
as a workaround, I'm checking when min==max and setting max=min+0.1
found a bug when min equals max the method of
double valueToPercentage(double value, double min, double max) { return value / ((max - min) / 100); }
in utils.dart returnNaN
because of division by zero.as a workaround, I'm checking when min==max and setting max=min+0.1