Fixed the overflow in the login screen, the page is scrollable.

- Fixed Scrolling wasent working in login screen
- Changed Home page to indexed based view instead of PageView
This commit is contained in:
Mohammad Salameh
2024-03-19 13:29:12 +03:00
parent 79279180df
commit 42051bb977
10 changed files with 148 additions and 373 deletions

View File

@ -38,11 +38,7 @@ class AppBody extends StatelessWidget {
},
builder: (context, state) {
return state is! SpacesLoading || state is! SpaceRoomsLoading
? PageView(
physics: const NeverScrollableScrollPhysics(),
controller: NavCubit.pageController,
children: NavCubit.of(context).pages,
)
? NavCubit.of(context).pages[NavCubit.pageIndex]
: const Center(child: CircularProgressIndicator());
},
),