AnimationStyle constructor

const AnimationStyle({
  1. Duration? duration,
  2. Duration? reverseDuration,
  3. Curve? curve,
  4. Curve? reverseCurve,
})

Creates an AnimationStyle with the given properties.

All parameters are optional. When null, the default values of the consuming route apply.

Implementation

const AnimationStyle({
  this.duration,
  this.reverseDuration,
  this.curve,
  this.reverseCurve,
});