From d832080a6d89cbbbe23eeadf9e1f80b46df8bd4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maty=C3=A1=C5=A1=20Caras?= Date: Mon, 22 Apr 2024 15:53:38 +0200 Subject: [PATCH] fix: implement breaking change from fl_chart --- lib/util/graphs.dart | 3 ++- pubspec.lock | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/util/graphs.dart b/lib/util/graphs.dart index 3abf042..d125b36 100644 --- a/lib/util/graphs.dart +++ b/lib/util/graphs.dart @@ -71,7 +71,8 @@ class ExpensesLineChart extends StatelessWidget { LineChartData( lineTouchData: LineTouchData( touchTooltipData: LineTouchTooltipData( - tooltipBgColor: Theme.of(context).colorScheme.secondaryContainer, + getTooltipColor: (group) => + Theme.of(context).colorScheme.secondaryContainer, getTooltipItems: (spots) => List.generate( spots.length, (index) => LineTooltipItem( diff --git a/pubspec.lock b/pubspec.lock index ca1cd18..14ab21a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -512,10 +512,10 @@ packages: dependency: "direct main" description: name: intl - sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf url: "https://pub.dev" source: hosted - version: "0.18.1" + version: "0.19.0" introduction_screen: dependency: "direct main" description: @@ -1101,10 +1101,10 @@ packages: dependency: transitive description: name: vm_service - sha256: a2662fb1f114f4296cf3f5a50786a2d888268d7776cf681aa17d660ffa23b246 + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" url: "https://pub.dev" source: hosted - version: "14.0.0" + version: "14.2.1" watcher: dependency: transitive description: