From e13a9436f44e0f808915757771f74184556f15de Mon Sep 17 00:00:00 2001 From: Benjamin Ramhorst Date: Wed, 9 Feb 2022 17:15:11 +0000 Subject: [PATCH] Added model for showing steps data --- lib/model/steps_series.dart | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/model/steps_series.dart diff --git a/lib/model/steps_series.dart b/lib/model/steps_series.dart new file mode 100644 index 0000000..2b3ee3c --- /dev/null +++ b/lib/model/steps_series.dart @@ -0,0 +1,13 @@ +import 'package:charts_flutter/flutter.dart' as charts; + +class StepSeries { + final DateTime date; + final int steps; + final charts.Color barColor; + + StepSeries({ + required this.date, + required this.steps, + required this.barColor + }); +} \ No newline at end of file