diff --git a/lib/main.dart b/lib/main.dart index 30b3049..74e3238 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -140,6 +140,17 @@ class HomePageState extends State with RefreshMountedStateMixin { return Scaffold( backgroundColor: Theme.of(context).colorScheme.surfaceContainer, body: NavigationView( + transitionBuilder: (child, animation) { + const begin = Offset(0.0, 1.0); + const end = Offset.zero; + final tween = Tween(begin: begin, end: end) + .chain(CurveTween(curve: Curves.fastEaseInToSlowEaseOut)); + final offsetAnimation = animation.drive(tween); + return SlideTransition( + position: offsetAnimation, + child: child, + ); + }, builder: (context, vertical, horizontal, state) => Column( children: [ Container(