lerpWidth method

double lerpWidth()

Implementation

double lerpWidth() {
  if (maxWidth == null && openMaxWidth != null) {
    return lerpDouble(fullWidth, openMaxWidth, t)!;
  } else {
    return lerpDouble(
      maxWidth ?? fullWidth,
      openMaxWidth ?? maxWidth ?? fullWidth,
      t,
    )!;
  }
}