CircularPanPhysics constructor Null safety

CircularPanPhysics(
  1. {Duration duration = PanPhysics.kDefaultDuration,
  2. Curve curve = PanPhysics.kDefaultCurve}
)

Implementation

CircularPanPhysics({
  this.duration = PanPhysics.kDefaultDuration,
  this.curve = PanPhysics.kDefaultCurve,
})  : assert(duration != null),
      assert(curve != null);