Implemented TimeTable
This commit is contained in:
35
lib/app.dart
35
lib/app.dart
@ -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,
|
||||
|
Reference in New Issue
Block a user