factorToValue method

  1. @override
double? factorToValue(
  1. double factor
)
override

Returns converted axis value from the factor.

The arguments to this method is factor which value between 0 to 1. If the axis range from 0 to 100 and pass the factor value is 0.5, this method return axis value is 50. Overriding method, you can modify the axis value based on needs.

Implementation

@override
double? factorToValue(double factor) {
  return null;
}