Commit 887e2fc2 authored by Administrator's avatar Administrator

disclaimer texts for lap diagrams

parent 0027fad5
......@@ -46,6 +46,9 @@ class _LapFormPowerWidgetState extends State<LapFormPowerWidget> {
padding: EdgeInsets.only(left: 25),
children: <Widget>[
LapFormPowerChart(records: records),
Text('Only records where 0 W < form power < 200 W are shown.'),
Text('Swipe left/write to compare with other laps.'),
Divider(),
ListTile(
leading: MyIcon.average,
title: Text(avgFormPowerString),
......
......@@ -46,6 +46,9 @@ class _LapGroundTimeWidgetState extends State<LapGroundTimeWidget> {
padding: EdgeInsets.only(left: 25),
children: <Widget>[
LapGroundTimeChart(records: groundTimeRecords),
Text('Only records where ground time > 0 ms are shown.'),
Text('Swipe left/write to compare with other laps.'),
Divider(),
ListTile(
leading: MyIcon.average,
title: Text(avgGroundTimeString),
......
......@@ -52,6 +52,9 @@ class _LapHeartRateWidgetState extends State<LapHeartRateWidget> {
records: records,
heartRateZones: heartRateZones,
),
Text('Only records where heart rate > 10 bpm are shown.'),
Text('Swipe left/write to compare with other laps.'),
Divider(),
ListTile(
leading: MyIcon.average,
title: Text(Lap.avgHeartRate(records: records)),
......
......@@ -49,6 +49,9 @@ class _LapLegSpringStiffnessWidgetState
padding: EdgeInsets.only(left: 25),
children: <Widget>[
LapLegSpringStiffnessChart(records: legSpringStiffnessRecords),
Text('Only records where leg spring stiffness > 0 kN/m are shown.'),
Text('Swipe left/write to compare with other laps.'),
Divider(),
ListTile(
leading: MyIcon.average,
title: Text(avgLegSpringStiffnessString),
......
......@@ -35,8 +35,13 @@ class _LapPowerDurationWidgetState extends State<LapPowerDurationWidget> {
.toList();
if (powerRecords.length > 0) {
return SingleChildScrollView(
child: PowerDurationChart(records: powerRecords),
return ListView(
padding: EdgeInsets.only(left: 15),
children: <Widget>[
PowerDurationChart(records: powerRecords),
Text('Swipe left/write to compare with other laps.'),
Divider(),
],
);
} else {
return Center(
......
......@@ -54,6 +54,9 @@ class _LapPowerWidgetState extends State<LapPowerWidget> {
records: powerRecords,
powerZones: powerZones,
),
Text('Only records where power > 100 W are shown.'),
Text('Swipe left/write to compare with other laps.'),
Divider(),
ListTile(
leading: MyIcon.average,
title: Text(avgPowerString),
......
......@@ -46,6 +46,9 @@ class _LapStrydCadenceWidgetState extends State<LapStrydCadenceWidget> {
padding: EdgeInsets.only(left: 25),
children: <Widget>[
LapStrydCadenceChart(records: strydCadenceRecords),
Text('Only records where cadence > 0 s/min are shown.'),
Text('Swipe left/write to compare with other laps.'),
Divider(),
ListTile(
leading: MyIcon.average,
title: Text(avgStrydCadenceString),
......
......@@ -49,6 +49,9 @@ class _LapVerticalOscillationWidgetState
padding: EdgeInsets.only(left: 25),
children: <Widget>[
LapVerticalOscillationChart(records: verticalOscillationRecords),
Text('Only records where vertical oscillation is present are shown.'),
Text('Swipe left/write to compare with other laps.'),
Divider(),
ListTile(
leading: MyIcon.average,
title: Text(avgVerticalOscillationString),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment