fix: increase animation speed
This commit is contained in:
parent
662a1ae157
commit
513b2d2f14
|
@ -35,15 +35,14 @@ class _MainLayoutState extends State<MainLayout> {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return AutoTabsScaffold(
|
||||
animationDuration: const Duration(milliseconds: 150),
|
||||
routes: const [
|
||||
HomePageRouter(children: [
|
||||
HomeRoute(),
|
||||
]),
|
||||
MapRoute(),
|
||||
EventsRoute(),
|
||||
InfoPageRouter(children: [
|
||||
InfoRoute()
|
||||
]),
|
||||
InfoPageRouter(children: [InfoRoute()]),
|
||||
],
|
||||
bottomNavigationBuilder: (_, tabsRouter) {
|
||||
return WillPopScope(
|
||||
|
@ -69,7 +68,7 @@ class _MainLayoutState extends State<MainLayout> {
|
|||
padding: const EdgeInsets.symmetric(vertical: 3, horizontal: 20),
|
||||
child: SalomonBottomBar(
|
||||
itemPadding:
|
||||
const EdgeInsets.symmetric(vertical: 12, horizontal: 16),
|
||||
const EdgeInsets.symmetric(vertical: 12, horizontal: 16),
|
||||
items: <SalomonBottomBarItem>[
|
||||
SalomonBottomBarItem(
|
||||
icon: const Icon(FlutterRemix.home_line),
|
||||
|
|
Loading…
Reference in New Issue