factorToValueCallback property

FactorToValueCallback? factorToValueCallback
final

Returns the converted axis value from the factor.

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

Implementation

final FactorToValueCallback? factorToValueCallback;