mirror of
https://github.com/supleed2/ELEC60013-ES-CW1.git
synced 2024-11-10 01:35:50 +00:00
Added model for showing steps data
This commit is contained in:
parent
e21ae2e36d
commit
e13a9436f4
13
lib/model/steps_series.dart
Normal file
13
lib/model/steps_series.dart
Normal file
|
@ -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
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in a new issue