FrictionConfig.byDirection constructor
Direction-grouped: in-display and past-display states share the same ramp per direction.
Implementation
const FrictionConfig.byDirection({
required this.extending,
required this.retracting,
}) : extendingPastDisplay = extending,
retractingPastDisplay = retracting;