FlutterTagAnimation.scale constructor
const
FlutterTagAnimation.scale({
- bool toAnimate = true,
- Duration animationDuration = const Duration(milliseconds: 500),
- bool loopAnimation = false,
- Duration disappearanceFadeAnimationDuration = const Duration(milliseconds: 200),
- Curve curve = Curves.easeOutCubic,
- Curve colorChangeAnimationCurve = Curves.linear,
- Duration colorChangeAnimationDuration = Duration.zero,
- bool appearanceDisappearanceFadeAnimationEnabled = true,
Implementation
const FlutterTagAnimation.scale({
this.toAnimate = true,
this.animationDuration = const Duration(milliseconds: 500),
this.loopAnimation = false,
this.disappearanceFadeAnimationDuration = const Duration(milliseconds: 200),
this.curve = Curves.easeOutCubic,
this.colorChangeAnimationCurve = Curves.linear,
this.colorChangeAnimationDuration = Duration.zero,
this.appearanceDisappearanceFadeAnimationEnabled = true,
}) : animationType = FlutterTagAnimationType.scale,
sizeTransitionAxis = null,
sizeTransitionAxisAlignment = null,
slideTransitionPositionTween = null;