Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MobileEventLog
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container 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
Data-Logistics-Support
MobileEventLog
Commits
5b8b8790
Commit
5b8b8790
authored
2 years ago
by
Maximilian Betz
Browse files
Options
Downloads
Patches
Plain Diff
added Information Widget
parent
6b264e81
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/configuration.dart
+1
-1
1 addition, 1 deletion
lib/configuration.dart
lib/overview.dart
+47
-1
47 additions, 1 deletion
lib/overview.dart
lib/viewevents.dart
+1
-1
1 addition, 1 deletion
lib/viewevents.dart
with
49 additions
and
3 deletions
lib/configuration.dart
+
1
−
1
View file @
5b8b8790
...
...
@@ -213,4 +213,4 @@ class _MyHomePageState extends State<Configuration> {
}
}
//TODO: add scrowlable view here for landscape compatibility.
\ No newline at end of file
//TODO: add scrowlable view here for landscape compatibility.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/overview.dart
+
47
−
1
View file @
5b8b8790
import
'package:flutter/material.dart'
;
class
Overview
extends
StatelessWidget
{
const
Overview
({
Key
?
key
})
:
super
(
key:
key
);
Widget
_buildPopupInfoDialog
(
BuildContext
context
)
{
return
AlertDialog
(
title:
const
Text
(
'Version 1.0.0'
),
content:
Column
(
mainAxisSize:
MainAxisSize
.
min
,
crossAxisAlignment:
CrossAxisAlignment
.
center
,
children:
const
<
Widget
>[
Icon
(
Icons
.
copyright_outlined
),
Text
(
'Alfred Wegener Institute'
),
Text
(
'Maximilian Betz'
),
SizedBox
(
height:
30
),
Text
(
'o2a-support@awi.de'
),
],
),
actions:
<
Widget
>[
TextButton
(
onPressed:
()
{
Navigator
.
of
(
context
)
.
pop
();
},
child:
const
Text
(
'Close'
),
),
],
);
}
@override
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
appBar:
AppBar
(
title:
const
Text
(
'Mobile Event Log'
)),
appBar:
AppBar
(
title:
const
Text
(
'Mobile Event Log'
),
actions:
[
IconButton
(
icon:
const
Icon
(
Icons
.
info
,
size:
34.0
),
onPressed:
(){
showDialog
(
barrierDismissible:
false
,
context:
context
,
builder:
(
BuildContext
context
)
=
>
_buildPopupInfoDialog
(
context
),
);
}
),
],
),
body:
Center
(
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
...
...
This diff is collapsed.
Click to expand it.
lib/viewevents.dart
+
1
−
1
View file @
5b8b8790
...
...
@@ -77,7 +77,7 @@ class _ViewEvents extends State<ViewEvents> {
return
Scaffold
(
appBar:
AppBar
(
title:
const
Text
(
"View
Added Events
"
),
title:
const
Text
(
"View
& Sync
"
),
),
body:
Container
(
margin:
const
EdgeInsets
.
symmetric
(
horizontal:
5.0
),
...
...
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