createSimulation method

  1. @override
Simulation createSimulation({
  1. required bool forward,
})
override

The spring from where the sheet is to open or gone, carrying a drag's speed.

Implementation

@override
Simulation createSimulation({required bool forward}) =>
    _spring.simulation(navigator!.context, to: forward ? 1 : 0);