SubAnimationConfig constructor

  1. @required
const SubAnimationConfig({
  1. Curve curve = Curves.linear,
  2. bool enabled = false,
  3. double animationStartDelay = 0,
  4. double animationFinishDelay = 0,
})

Implementation

@required
const SubAnimationConfig({
  this.curve = Curves.linear,
  this.enabled = false,
  this.animationStartDelay = 0,
  this.animationFinishDelay = 0,
}) : assert(animationStartDelay + animationFinishDelay < 1);