FrictionConfig.byZone constructor
Group by zone: inDisplay applies to both extending and retracting
while the rect's edge is inside the display; pastDisplay applies to
both once the edge has crossed.
Implementation
const FrictionConfig.byZone({
required Friction inDisplay,
required Friction pastDisplay,
}) : extending = inDisplay,
retracting = inDisplay,
extendingPastDisplay = pastDisplay,
retractingPastDisplay = pastDisplay;