EasyDialogAnimatorConfiguration.unbounded constructor

const EasyDialogAnimatorConfiguration.unbounded({
  1. double startValue = 0.0,
  2. Duration duration = _defaultDuration,
  3. Duration reverseDuration = _defaultReverseDuration,
})

Creates an instance of EasyDialogAnimatorConfiguration for an unbounded animation.

An unbounded animation is one that does not have a fixed lowerBound or upperBound.

The duration is the duration of the animation, and defaults to _defaultDuration.

The reverseDuration is the duration of the animation in reverse, and defaults to the _defaultReverseDuration.

The startValue is the value from which the animation should start, and defaults to 0.0.

Implementation

const EasyDialogAnimatorConfiguration.unbounded({
  double startValue = 0.0,
  this.duration = _defaultDuration,
  this.reverseDuration = _defaultReverseDuration,
})  : lowerBound = double.negativeInfinity,
      upperBound = double.infinity,
      this.startValue = startValue;