diff --git a/experimental/pedometer/example/lib/main.dart b/experimental/pedometer/example/lib/main.dart index 82a754b73..db2fabe77 100644 --- a/experimental/pedometer/example/lib/main.dart +++ b/experimental/pedometer/example/lib/main.dart @@ -154,7 +154,7 @@ class _HomeState extends State { aspectRatio: 1.2, child: BarChart( BarChartData( - titlesData: FlTitlesData( + titlesData: const FlTitlesData( show: true, // Top titles are null topTitles: @@ -178,7 +178,7 @@ class _HomeState extends State { show: false, ), barGroups: barGroups, - gridData: FlGridData(show: false), + gridData: const FlGridData(show: false), alignment: BarChartAlignment.spaceAround, ), ), diff --git a/experimental/pedometer/example/pubspec.yaml b/experimental/pedometer/example/pubspec.yaml index e49693568..069f00840 100644 --- a/experimental/pedometer/example/pubspec.yaml +++ b/experimental/pedometer/example/pubspec.yaml @@ -45,7 +45,7 @@ dependencies: ffi: ^2.0.1 intl: ^0.18.0 jni: ^0.5.0 - fl_chart: ^0.62.0 + fl_chart: ^0.63.0 dev_dependencies: flutter_test: