feat: add back navigation to agent network screen and update route transition animation

This commit is contained in:
pradeepkumar
2026-03-31 05:59:38 +05:30
parent 2af7eca16a
commit 145cf53fdb
3 changed files with 75 additions and 13 deletions

View File

@@ -276,8 +276,14 @@ Widget _fadeTransition(
Widget child,
) {
return FadeTransition(
opacity: CurveTween(curve: Curves.easeInOut).animate(animation),
child: child,
opacity: CurveTween(curve: Curves.easeOut).animate(animation),
child: SlideTransition(
position: Tween<Offset>(
begin: const Offset(0.02, 0),
end: Offset.zero,
).animate(CurvedAnimation(parent: animation, curve: Curves.easeOut)),
child: child,
),
);
}