From 2c96f711b64e4b15a3caeded35a8a1c24d2c9f85 Mon Sep 17 00:00:00 2001 From: "k.mannweiler" <2012491@stud.hs-mannheim.de> Date: Mon, 27 Feb 2023 19:29:22 +0100 Subject: [PATCH] Add SingleChildScrollView --- lib/pages/main_page.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/main_page.dart b/lib/pages/main_page.dart index 5a2af86..65024a9 100644 --- a/lib/pages/main_page.dart +++ b/lib/pages/main_page.dart @@ -39,7 +39,8 @@ class MyHomePageState extends State { 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,