Skip to content
Snippets Groups Projects
Commit 8e4a8e5b authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: minor changes in formulation

parent 2f9ee128
No related branches found
No related tags found
1 merge request!16Clhp map into main
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:fl_chart/fl_chart.dart'; import 'package:fl_chart/fl_chart.dart';
import 'dart:math';
import '../consts.dart'; import '../consts.dart';
import '../utils/format_month.dart'; import '../utils/format_month.dart';
...@@ -30,8 +31,8 @@ class _BarDataState extends State<BarData> { ...@@ -30,8 +31,8 @@ class _BarDataState extends State<BarData> {
var entry = selectedSubDiv?.iceStats[i]; var entry = selectedSubDiv?.iceStats[i];
if (entry != null) { if (entry != null) {
barData[i] = [ barData[i] = [
entry.slushIce,
entry.blackIce, entry.blackIce,
entry.slushIce,
entry.snowDepth, entry.snowDepth,
]; ];
......
...@@ -72,7 +72,7 @@ class InfoLayerState extends State<InfoLayer> { ...@@ -72,7 +72,7 @@ class InfoLayerState extends State<InfoLayer> {
), ),
const SizedBox(height: 20), const SizedBox(height: 20),
Text( Text(
'The map shows the safety of applying x kg per x m^2', 'The map shows the safety of applying x kg per y m^2',
style: regTextStyle, style: regTextStyle,
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
......
...@@ -314,7 +314,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> { ...@@ -314,7 +314,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
const SizedBox(height: contPadding/3), const SizedBox(height: contPadding/3),
Text( Text(
'Data certainty: ${selectedSubDiv?.accuracy}/4', 'Data certainty: ${selectedSubDiv?.accuracy}/4',
style: regTextStyle, style: subHeadingStyle,
), ),
], ],
), ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment