Skip to content
Snippets Groups Projects
Commit af4cdd96 authored by Anager's avatar Anager
Browse files

Event ready

parent f1f74d0d
No related branches found
No related tags found
No related merge requests found
import 'package:deggendorf_app/bin/main.dart';
import 'package:flutter/material.dart';
import 'package:flutter_speed_dial/flutter_speed_dial.dart';
import 'package:deggendorf_app/bottom_navigation_bar_buttons/event/barwidget.dart';
class EventMainPage extends StatefulWidget {
const EventMainPage({Key? key}) : super(key: key);
......@@ -26,17 +27,17 @@ class _MyStatefulWidgetState extends State<EventMainPage> {
void initializeMyList() {
myListToBeDisplayed = [
sizedBox("Bar 1", "Mehr Informationen über Bar 1",
Icons.local_bar_rounded, 100, SecondRoute()),
Icons.local_bar_rounded, 100, BarWidget(barName: "Erster",)),
sizedBox("Bar 2", "Mehr Informationen über Bar 1",
Icons.local_bar_rounded, 200, SecondRoute()),
Icons.local_bar_rounded, 200, BarWidget(barName: "Ostern",)),
sizedBox("Bar 3", "Mehr Informationen über Bar 3",
Icons.local_bar_rounded, 100, SecondRoute()),
Icons.local_bar_rounded, 100, BarWidget(barName: "Hallo Welt",)),
sizedBox("Bar 4", "Mehr Informationen über Bar 4",
Icons.local_bar_rounded, 100, SecondRoute()),
Icons.local_bar_rounded, 100, BarWidget(barName: "ITC1",)),
sizedBox("Bar 5", "Mehr Informationen über Bar 5",
Icons.local_bar_rounded, 100, SecondRoute()),
Icons.local_bar_rounded, 100, BarWidget(barName: "THD",)),
sizedBox("Bar 6", "Mehr Informationen über Bar 6",
Icons.local_bar_rounded, 100, SecondRoute()),
Icons.local_bar_rounded, 100, BarWidget(barName: "First Floor",)),
];
}
......@@ -102,14 +103,14 @@ class _MyStatefulWidgetState extends State<EventMainPage> {
onChanged: (bool? value) {
//This piece of code can be used to change the value of the checkbox upon click.
//It is commented because it is not used here.
setState(() {
/* setState(() {
_value = value!;
}
/*Navigator.push(
}*/
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => navigateTo,
)*/);
));
},
), //CheckboxListTile
), //Container
......
......@@ -39,6 +39,8 @@ dependencies:
flutter_settings_screens: ^0.2.2+1
shared_preferences: ^2.0.13
carousel_slider: ^4.0.0
flutter_speed_dial: ^4.3.0
dev_dependencies:
flutter_test:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment