|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
import 'package:dotted_dashed_line/dotted_dashed_line.dart';
|
|
|
|
|
import 'package:dotted_dashed_line/dotted_dashed_line.dart';
|
|
|
|
|
import 'package:smartfit_app_mobile/common_widget/round_button.dart';
|
|
|
|
|
import 'package:fl_chart/fl_chart.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
@ -43,7 +43,7 @@ class _HomeViewState extends State<HomeView> {
|
|
|
|
|
"progress": 0.7
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
List<int> showingTooltipOnSpots = [21];
|
|
|
|
|
List<int> showingTooltipOnSpots = [0];
|
|
|
|
|
|
|
|
|
|
List<FlSpot> allSpots = [FlSpot(0, 20)];
|
|
|
|
|
|
|
|
|
@ -74,7 +74,7 @@ class _HomeViewState extends State<HomeView> {
|
|
|
|
|
),
|
|
|
|
|
dotData: FlDotData(show: false),
|
|
|
|
|
gradient: LinearGradient(
|
|
|
|
|
colors: TColor.secondaryG ,
|
|
|
|
|
colors: TColor.secondaryG,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
];
|
|
|
|
@ -296,7 +296,8 @@ class _HomeViewState extends State<HomeView> {
|
|
|
|
|
child: Text(
|
|
|
|
|
"78 BPM",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: TColor.primaryColor1.withOpacity(0.7),
|
|
|
|
|
color:
|
|
|
|
|
TColor.primaryColor1.withOpacity(0.7),
|
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
|
fontSize: 18),
|
|
|
|
|
),
|
|
|
|
@ -871,7 +872,6 @@ class _HomeViewState extends State<HomeView> {
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: media.width * 0.05,
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: media.width * 0.1,
|
|
|
|
|
),
|
|
|
|
@ -889,7 +889,6 @@ class _HomeViewState extends State<HomeView> {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<PieChartSectionData> showingSections() {
|
|
|
|
|
return List.generate(
|
|
|
|
|
2,
|
|
|
|
|