mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 18:38:36 +08:00
OnBoarding BottomBar: Add an animation
Now the "Get Started" button opens up with an animation!
This commit is contained in:
@ -97,7 +97,10 @@ class OnBoardingScreenState extends State<OnBoardingScreen> {
|
|||||||
child: pageView,
|
child: pageView,
|
||||||
padding: EdgeInsets.all(16.0),
|
padding: EdgeInsets.all(16.0),
|
||||||
),
|
),
|
||||||
bottomNavigationBar: bottomBar,
|
bottomNavigationBar: AnimatedSwitcher(
|
||||||
|
duration: Duration(milliseconds: 300),
|
||||||
|
child: bottomBar,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user