Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AppDeggendorf_Flutter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chaitanya Mangra
AppDeggendorf_Flutter
Commits
af4cdd96
Commit
af4cdd96
authored
2 years ago
by
Anager
Browse files
Options
Downloads
Patches
Plain Diff
Event ready
parent
f1f74d0d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/bottom_navigation_bar_buttons/event/event.dart
+11
-10
11 additions, 10 deletions
lib/bottom_navigation_bar_buttons/event/event.dart
pubspec.yaml
+2
-0
2 additions, 0 deletions
pubspec.yaml
with
13 additions
and
10 deletions
lib/bottom_navigation_bar_buttons/event/event.dart
+
11
−
10
View file @
af4cdd96
import
'package:deggendorf_app/bin/main.dart'
;
import
'package:deggendorf_app/bin/main.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_speed_dial/flutter_speed_dial.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
{
class
EventMainPage
extends
StatefulWidget
{
const
EventMainPage
({
Key
?
key
})
:
super
(
key:
key
);
const
EventMainPage
({
Key
?
key
})
:
super
(
key:
key
);
...
@@ -26,17 +27,17 @@ class _MyStatefulWidgetState extends State<EventMainPage> {
...
@@ -26,17 +27,17 @@ class _MyStatefulWidgetState extends State<EventMainPage> {
void
initializeMyList
()
{
void
initializeMyList
()
{
myListToBeDisplayed
=
[
myListToBeDisplayed
=
[
sizedBox
(
"Bar 1"
,
"Mehr Informationen über Bar 1"
,
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"
,
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"
,
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"
,
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"
,
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"
,
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> {
...
@@ -102,14 +103,14 @@ class _MyStatefulWidgetState extends State<EventMainPage> {
onChanged:
(
bool
?
value
)
{
onChanged:
(
bool
?
value
)
{
//This piece of code can be used to change the value of the checkbox upon click.
//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.
//It is commented because it is not used here.
setState
(()
{
/*
setState(() {
_value = value!;
_value = value!;
}
}
*/
/*
Navigator.push(
Navigator
.
push
(
context
,
context
,
MaterialPageRoute
(
MaterialPageRoute
(
builder:
(
context
)
=
>
navigateTo
,
builder:
(
context
)
=
>
navigateTo
,
)
*/
);
));
},
},
),
//CheckboxListTile
),
//CheckboxListTile
),
//Container
),
//Container
...
...
This diff is collapsed.
Click to expand it.
pubspec.yaml
+
2
−
0
View file @
af4cdd96
...
@@ -39,6 +39,8 @@ dependencies:
...
@@ -39,6 +39,8 @@ dependencies:
flutter_settings_screens
:
^0.2.2+1
flutter_settings_screens
:
^0.2.2+1
shared_preferences
:
^2.0.13
shared_preferences
:
^2.0.13
carousel_slider
:
^4.0.0
carousel_slider
:
^4.0.0
flutter_speed_dial
:
^4.3.0
dev_dependencies
:
dev_dependencies
:
flutter_test
:
flutter_test
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment