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