Add chart to weight screen

This commit is contained in:
Roland Geider
2020-12-04 18:26:11 +01:00
parent 9b41f0e72f
commit a63a4e7544
4 changed files with 92 additions and 47 deletions

View File

@@ -1,9 +1,14 @@
import 'package:charts_flutter/flutter.dart' as charts;
import 'package:flutter/material.dart';
const Color wgerPrimaryColor = Color(0xff2a4c7d);
const Color wgerPrimaryButtonColor = Color(0xff266dd3);
const Color wgerSecondaryColor = Color(0xffe63946);
// Chart colors
const charts.Color wgerChartPrimaryColor = charts.Color(r: 0x2a, g: 0x4c, b: 0x7d);
const charts.Color wgerChartSecondaryColor = charts.Color(r: 0xe6, g: 0x39, b: 0x46);
final ThemeData wgerTheme = ThemeData(
/*
* General stuff