fittedLimitPosition method

double fittedLimitPosition(
  1. double screenHeight
)

Upper bound for a content-fitted sheet: the position of the full stop, from fullSize, although that stop is not active.

Implementation

double fittedLimitPosition(double screenHeight) => screenHeight <= 0
    ? 0
    : positionFor(GlassSheetState.full, screenHeight, fullSize: fullSize)
        .clamp(0.0, 1.0);