GestureAnimation.elevate constructor
GestureAnimation.elevate({
- AnimationBehavior behavior = AnimationBehavior.normal,
- Curve curve = Curves.easeOut,
- String? debugLabel = 'elevate',
- Duration duration = const Duration(milliseconds: 130),
- Curve? reverseCurve,
- Duration? reverseDuration,
- double upperBound = 1.0,
- double lowerBound = 0.0,
- double value = 1.0,
- bool repeat = false,
- 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);