duration property Null safety

Duration duration
final

The animation duration used for returning a PanState.distance to zero.

Defaults to PanPhysics.kDefaultDuration.

Implementation

final Duration duration = Duration.zero;