Implemented TimeTable

This commit is contained in:
2023-01-29 22:29:48 +01:00
parent 1baa8028fa
commit 83ad7d59d2
11 changed files with 285 additions and 93 deletions

View File

@ -37,19 +37,28 @@ class _AppState extends State<App> {
)
],
),
body: PageView(
controller: pageController,
children: const [
Timetable(),
Talk(),
Files(),
Overhang(),
body: Stack(
children: [
PageView(
controller: pageController,
children: const [
Timetable(),
Talk(),
Files(),
Overhang(),
],
onPageChanged: (page) {
setState(() {
currentPage = page;
});
},
),
// LinearProgressIndicator(
// backgroundColor: Colors.transparent,
// valueColor: AlwaysStoppedAnimation(Theme.of(context).primaryColor),
// minHeight: 5,
// ),
],
onPageChanged: (page) {
setState(() {
currentPage = page;
});
},
),
bottomNavigationBar: BottomNavigationBar(
@ -91,7 +100,7 @@ class _AppState extends State<App> {
],
), label: "Talk"),
const BottomNavigationBarItem(icon: Icon(Icons.folder), label: "Dateien"),
const BottomNavigationBarItem(icon: Icon(Icons.list), label: "Mehr"),
const BottomNavigationBarItem(icon: Icon(Icons.more_horiz), label: "Mehr"),
],
selectedItemColor: Theme.of(context).primaryColor,
unselectedItemColor: Colors.grey,