Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
3 Schweinehunde
Encrateia
Commits
2daa33ce
Commit
2daa33ce
authored
May 08, 2020
by
Administrator
Browse files
color scheme for list buttons
parent
3f3710ed
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
lib/screens/dashboard.dart
lib/screens/dashboard.dart
+1
-1
lib/screens/show_activity_screen.dart
lib/screens/show_activity_screen.dart
+2
-2
lib/screens/show_athlete_screen.dart
lib/screens/show_athlete_screen.dart
+1
-1
lib/screens/show_lap_screen.dart
lib/screens/show_lap_screen.dart
+3
-3
lib/utils/my_color.dart
lib/utils/my_color.dart
+2
-2
No files found.
lib/screens/dashboard.dart
View file @
2daa33ce
...
...
@@ -113,7 +113,7 @@ class _DashboardState extends State<Dashboard> {
children:
<
Widget
>[
RaisedButton
.
icon
(
icon:
MyIcon
.
analyze
,
color:
MyColor
.
detail
,
color:
MyColor
.
athlete
,
onPressed:
()
=>
goToListActivitiesScreen
(
athlete:
athlete
),
label:
Text
(
"Analyze"
),
),
...
...
lib/screens/show_activity_screen.dart
View file @
2daa33ce
...
...
@@ -61,8 +61,8 @@ class ShowActivityScreen extends StatelessWidget {
),
),
navigationButton
(
title:
'Laps'
,
color:
MyColor
.
detail
,
title:
'Laps
List
'
,
color:
MyColor
.
lap
,
icon:
MyIcon
.
laps
,
context:
context
,
nextWidget:
LapsListWidget
(
activity:
activity
),
...
...
lib/screens/show_athlete_screen.dart
View file @
2daa33ce
...
...
@@ -67,7 +67,7 @@ class _ShowAthleteScreenState extends State<ShowAthleteScreen> {
mainAxisSpacing:
3
,
children:
[
navigationButton
(
color:
MyColor
.
detail
,
color:
MyColor
.
activity
,
title:
"Activities List"
,
icon:
MyIcon
.
activities
,
nextWidget:
ActivitiesListWidget
(
athlete:
widget
.
athlete
),
...
...
lib/screens/show_lap_screen.dart
View file @
2daa33ce
...
...
@@ -64,7 +64,7 @@ class ShowLapScreen extends StatelessWidget {
nextWidget:
({
lap
})
=>
LapPowerWidget
(
lap:
lap
),
),
navigationButton
(
title:
"Power
Duration"
,
title:
"Power
\n
Duration"
,
color:
MyColor
.
navigate
,
icon:
MyIcon
.
powerDuration
,
context:
context
,
...
...
@@ -78,7 +78,7 @@ class ShowLapScreen extends StatelessWidget {
nextWidget:
({
lap
})
=>
LapGroundTimeWidget
(
lap:
lap
),
),
navigationButton
(
title:
"Leg Spring
Stiffness"
,
title:
"Leg Spring
\n
Stiffness"
,
color:
MyColor
.
navigate
,
icon:
MyIcon
.
legSpringStiffness
,
context:
context
,
...
...
@@ -99,7 +99,7 @@ class ShowLapScreen extends StatelessWidget {
nextWidget:
({
lap
})
=>
LapStrydCadenceWidget
(
lap:
lap
),
),
navigationButton
(
title:
"Vertical
Oscillation"
,
title:
"Vertical
\n
Oscillation"
,
color:
MyColor
.
navigate
,
icon:
MyIcon
.
verticalOscillation
,
context:
context
,
...
...
lib/utils/my_color.dart
View file @
2daa33ce
...
...
@@ -58,7 +58,7 @@ class MyColor {
static
Color
delete
=
danger
;
static
Color
navigate
=
white
;
static
Color
athlete
=
ecstasy
;
static
Color
activity
=
bitterSwee
tAccent
;
static
Color
athlete
=
brightGoldenYellow
;
static
Color
activity
=
min
tAccent
;
static
Color
lap
=
grassAccent
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment