dismissTravel static method
How far the sheet has been dragged below its lowest detent, as a fraction of screen height.
The sheet's position is already a screen-height fraction, so the drag distance is simply the gap between the two — no gesture plumbing needed, and a drag that never leaves the detent reads as zero.
Implementation
static double dismissTravel({
required double position,
required double minPosition,
}) =>
(minPosition - position).clamp(0.0, 1.0);