FlutterTagAnimation.flip constructor

const FlutterTagAnimation.flip({
  1. bool toAnimate = true,
  2. Duration animationDuration = const Duration(milliseconds: 500),
  3. bool loopAnimation = false,
  4. Duration disappearanceFadeAnimationDuration = const Duration(milliseconds: 200),
  5. Curve curve = Curves.easeOutCubic,
  6. bool appearanceDisappearanceFadeAnimationEnabled = true,
  7. 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;