Skip to content

Commit ca30f8c

Browse files
committed
Fixed animation transition on reverse
1 parent a4aa8d8 commit ca30f8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/modules/common/utils/indexed_transition_switcher.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class _IndexedTransitionSwitcherState extends State<IndexedTransitionSwitcher>
7373
// Animate out the old child and unstage it when the animation is complete
7474
oldChild.secondaryController.value = 0;
7575
oldChild.primaryController
76-
.reverse(from: 1)
76+
.reverse(from: 0)
7777
.then((value) => setState(() {
7878
oldChild.onStage = false;
7979
oldChild.primaryController.reset();

0 commit comments

Comments
 (0)