diff --git a/animations/codelab_rebuild.yaml b/animations/codelab_rebuild.yaml index 64133455ef..c31b1b74b4 100644 --- a/animations/codelab_rebuild.yaml +++ b/animations/codelab_rebuild.yaml @@ -821,8 +821,8 @@ steps: child: _animationController.isAnimating ? _animationController.value < 0.5 ? _previousChild - : Transform.flip(flipY: true, child: widget.child) - : widget.child, + : Transform.flip(flipY: true, child: child) + : child, ); }, child: widget.child, @@ -1001,8 +1001,8 @@ steps: - ? _animationController.value < 0.5 + ? _animationWithDelay.value < 0.5 ? _previousChild - : Transform.flip(flipY: true, child: widget.child) - : widget.child, + : Transform.flip(flipY: true, child: child) + : child, - name: Copy step_04_d copydir: from: quiz diff --git a/animations/step_04_a/lib/flip_effect.dart b/animations/step_04_a/lib/flip_effect.dart index 8da50bd461..30d7b6b2dd 100644 --- a/animations/step_04_a/lib/flip_effect.dart +++ b/animations/step_04_a/lib/flip_effect.dart @@ -61,8 +61,8 @@ class _CardFlipEffectState extends State child: _animationController.isAnimating ? _animationController.value < 0.5 ? _previousChild - : Transform.flip(flipY: true, child: widget.child) - : widget.child, + : Transform.flip(flipY: true, child: child) + : child, ); }, child: widget.child, diff --git a/animations/step_04_b/lib/flip_effect.dart b/animations/step_04_b/lib/flip_effect.dart index a9b705529f..93a82d4d41 100644 --- a/animations/step_04_b/lib/flip_effect.dart +++ b/animations/step_04_b/lib/flip_effect.dart @@ -63,8 +63,8 @@ class _CardFlipEffectState extends State child: _animationController.isAnimating ? _animationController.value < 0.5 ? _previousChild - : Transform.flip(flipY: true, child: widget.child) - : widget.child, + : Transform.flip(flipY: true, child: child) + : child, ); }, child: widget.child, diff --git a/animations/step_04_c/lib/flip_effect.dart b/animations/step_04_c/lib/flip_effect.dart index a4a8527d14..0f3ab26b0a 100644 --- a/animations/step_04_c/lib/flip_effect.dart +++ b/animations/step_04_c/lib/flip_effect.dart @@ -76,8 +76,8 @@ class _CardFlipEffectState extends State child: _animationController.isAnimating ? _animationController.value < 0.5 ? _previousChild - : Transform.flip(flipY: true, child: widget.child) - : widget.child, + : Transform.flip(flipY: true, child: child) + : child, ); }, child: widget.child, diff --git a/animations/step_04_d/lib/flip_effect.dart b/animations/step_04_d/lib/flip_effect.dart index 0983cedef1..f21b8eac6a 100644 --- a/animations/step_04_d/lib/flip_effect.dart +++ b/animations/step_04_d/lib/flip_effect.dart @@ -76,8 +76,8 @@ class _CardFlipEffectState extends State child: _animationController.isAnimating ? _animationWithDelay.value < 0.5 ? _previousChild - : Transform.flip(flipY: true, child: widget.child) - : widget.child, + : Transform.flip(flipY: true, child: child) + : child, ); }, child: widget.child, diff --git a/animations/step_05_a/lib/flip_effect.dart b/animations/step_05_a/lib/flip_effect.dart index 0983cedef1..f21b8eac6a 100644 --- a/animations/step_05_a/lib/flip_effect.dart +++ b/animations/step_05_a/lib/flip_effect.dart @@ -76,8 +76,8 @@ class _CardFlipEffectState extends State child: _animationController.isAnimating ? _animationWithDelay.value < 0.5 ? _previousChild - : Transform.flip(flipY: true, child: widget.child) - : widget.child, + : Transform.flip(flipY: true, child: child) + : child, ); }, child: widget.child, diff --git a/animations/step_05_b/lib/flip_effect.dart b/animations/step_05_b/lib/flip_effect.dart index 0983cedef1..f21b8eac6a 100644 --- a/animations/step_05_b/lib/flip_effect.dart +++ b/animations/step_05_b/lib/flip_effect.dart @@ -76,8 +76,8 @@ class _CardFlipEffectState extends State child: _animationController.isAnimating ? _animationWithDelay.value < 0.5 ? _previousChild - : Transform.flip(flipY: true, child: widget.child) - : widget.child, + : Transform.flip(flipY: true, child: child) + : child, ); }, child: widget.child, diff --git a/animations/step_05_c/lib/flip_effect.dart b/animations/step_05_c/lib/flip_effect.dart index 0983cedef1..f21b8eac6a 100644 --- a/animations/step_05_c/lib/flip_effect.dart +++ b/animations/step_05_c/lib/flip_effect.dart @@ -76,8 +76,8 @@ class _CardFlipEffectState extends State child: _animationController.isAnimating ? _animationWithDelay.value < 0.5 ? _previousChild - : Transform.flip(flipY: true, child: widget.child) - : widget.child, + : Transform.flip(flipY: true, child: child) + : child, ); }, child: widget.child, diff --git a/animations/step_05_d/lib/flip_effect.dart b/animations/step_05_d/lib/flip_effect.dart index 0983cedef1..f21b8eac6a 100644 --- a/animations/step_05_d/lib/flip_effect.dart +++ b/animations/step_05_d/lib/flip_effect.dart @@ -76,8 +76,8 @@ class _CardFlipEffectState extends State child: _animationController.isAnimating ? _animationWithDelay.value < 0.5 ? _previousChild - : Transform.flip(flipY: true, child: widget.child) - : widget.child, + : Transform.flip(flipY: true, child: child) + : child, ); }, child: widget.child,