GestureAnimation.elevate constructor

GestureAnimation.elevate({
  1. AnimationBehavior behavior = AnimationBehavior.normal,
  2. Curve curve = Curves.easeOut,
  3. String? debugLabel = 'elevate',
  4. Duration duration = const Duration(milliseconds: 130),
  5. Curve? reverseCurve,
  6. Duration? reverseDuration,
  7. double upperBound = 1.0,
  8. double lowerBound = 0.0,
  9. double value = 1.0,
  10. bool repeat = false,
  11. double liftPixels = 4.0,
})

Implementation

GestureAnimation.elevate({
  this.behavior = AnimationBehavior.normal,
  this.curve = Curves.easeOut,
  this.debugLabel = 'elevate',
  this.duration = const Duration(milliseconds: 130),
  this.reverseCurve,
  this.reverseDuration,
  this.upperBound = 1.0,
  this.lowerBound = 0.0,
  this.value = 1.0,
  this.repeat = false,
  double liftPixels = 4.0,
})  : _effect = GestureAnimations.elevate,
      begin = null,
      end = null,
      builder = null,
      _data = _EffectData(intensity: liftPixels);