Add SingleChildScrollView

main
Kai Mannweiler 2023-02-27 19:29:22 +01:00
parent 7a402e464c
commit 2c96f711b6
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ class MyHomePageState extends State<MyHomePage> {
appBar: AppBar(
title: Text(
'${pages.keys.elementAt(_selectedIndex)} ${_isConfigured ? "Gruppe $group" : ""}')),
body: pages.values.elementAt(_selectedIndex)['page'],
body: SingleChildScrollView(
child: pages.values.elementAt(_selectedIndex)['page']),
bottomNavigationBar: NavigationBar(
onDestinationSelected: _onItemTapped,
selectedIndex: _selectedIndex,