From b28dc477028057f95ae5aaf19cdbe41dc0f05fb4 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sat, 16 Feb 2019 12:15:33 +0100 Subject: [PATCH] OnBoarding BottomBar: Add an animation Now the "Get Started" button opens up with an animation! --- lib/screens/onboarding_screens.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/screens/onboarding_screens.dart b/lib/screens/onboarding_screens.dart index 9a3ac365..7d0fdb2f 100644 --- a/lib/screens/onboarding_screens.dart +++ b/lib/screens/onboarding_screens.dart @@ -97,7 +97,10 @@ class OnBoardingScreenState extends State { child: pageView, padding: EdgeInsets.all(16.0), ), - bottomNavigationBar: bottomBar, + bottomNavigationBar: AnimatedSwitcher( + duration: Duration(milliseconds: 300), + child: bottomBar, + ), ); }