TranslateEffect constructor

const TranslateEffect({
  1. int startOffset = 10,
  2. bool snap = true,
  3. Axis animationAxis = Axis.horizontal,
  4. AnimationType type = AnimationType.always,
})

Implementation

const TranslateEffect(
    {this.startOffset = 10,
    this.snap = true,
    this.animationAxis = Axis.horizontal,
    this.type = AnimationType.always});