chore: update Google Sign-In client ID and remove redundant AnimatedSwitcher from app shell

This commit is contained in:
pradeepkumar
2026-03-28 19:21:48 +05:30
parent 76ab8612a4
commit ecca0a37c3
4 changed files with 127 additions and 32 deletions

View File

@@ -40,29 +40,7 @@ class _AppShellState extends State<AppShell> {
child: const HomeHeader(),
),
Expanded(
child: AnimatedSwitcher(
duration: const Duration(milliseconds: 150),
switchOutCurve: Curves.easeIn,
switchInCurve: Curves.easeOut,
layoutBuilder: (currentChild, previousChildren) {
return Stack(
children: [
...previousChildren,
if (currentChild != null) currentChild,
],
);
},
transitionBuilder: (child, animation) {
return FadeTransition(
opacity: animation,
child: child,
);
},
child: KeyedSubtree(
key: ValueKey(GoRouterState.of(context).uri.toString()),
child: widget.child,
),
),
child: widget.child,
),
],
),