lerpFactor property

double lerpFactor

Implementation

double get lerpFactor {
  if (maxExtent != 1.0 && isLaidOut) return 0.0;

  final snap = snappings[math.max(snappings.length - 2, 0)];
  return Interval(
    snap >= 0.7 ? snap : 0.85,
    1.0,
  ).transform(currentExtent);
}