ElasticInOutCurve constructor Null safety

const ElasticInOutCurve(
  1. [double period = 0.4]
)

Creates an elastic-in-out curve.

Rather than creating a new instance, consider using Curves.elasticInOut.

Implementation

const ElasticInOutCurve([this.period = 0.4]);