LayerAnimationProgress constructor

const LayerAnimationProgress(
  1. double value, {
  2. double swing = 1,
  3. double turn = 0,
})

Creates a progress of value, tilting a wiggle to swing and turning a spin or a flip by turn.

Implementation

const LayerAnimationProgress(this.value, {this.swing = 1, this.turn = 0});