fix: increase animation speed
This commit is contained in:
parent
662a1ae157
commit
513b2d2f14
|
@ -35,15 +35,14 @@ class _MainLayoutState extends State<MainLayout> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return AutoTabsScaffold(
|
return AutoTabsScaffold(
|
||||||
|
animationDuration: const Duration(milliseconds: 150),
|
||||||
routes: const [
|
routes: const [
|
||||||
HomePageRouter(children: [
|
HomePageRouter(children: [
|
||||||
HomeRoute(),
|
HomeRoute(),
|
||||||
]),
|
]),
|
||||||
MapRoute(),
|
MapRoute(),
|
||||||
EventsRoute(),
|
EventsRoute(),
|
||||||
InfoPageRouter(children: [
|
InfoPageRouter(children: [InfoRoute()]),
|
||||||
InfoRoute()
|
|
||||||
]),
|
|
||||||
],
|
],
|
||||||
bottomNavigationBuilder: (_, tabsRouter) {
|
bottomNavigationBuilder: (_, tabsRouter) {
|
||||||
return WillPopScope(
|
return WillPopScope(
|
||||||
|
|
Loading…
Reference in New Issue