ElasticInOutCurve constructor Null safety

const ElasticInOutCurve(
  1. [double period]
)

Creates an elastic-in-out curve.

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

Implementation

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