Skip to content

Commit 2b90dc7

Browse files
authored
Improvement/dependencies upgrade September 2025 (#1998)
* Upgrade vector_math to 2.2.0 * Upgrade build_runner version to 2.8.0 * Upgrade mockito to 5.5.1 * Update the generated files with the new dependency upgrade * Upgrade very_good_analysis to 9.0.0 * Update CHANGELOG.md
1 parent 41357bf commit 2b90dc7

22 files changed

+16391
-7675
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## newVersion
2+
* **IMPROVEMENT** (by @imaNNeo) Upgrade `vector_math` dependency to `2.2.0`, #1985
3+
* **IMPROVEMENT** (by @imaNNeo) Upgrade `build_runner` (dev) dependency to `2.8.0`
4+
* **IMPROVEMENT** (by @imaNNeo) Upgrade `mockito` (dev) dependency to `5.5.1`
5+
* **IMPROVEMENT** (by @imaNNeo) Upgrade `very_good_analysis` (dev) dependency to `9.0.0`
6+
17
## 1.1.0
28
* **FEATURE** (by @kamilJ96) Add `gradient` property inside our `BarChartRodStackItem` to be able to render gradient (along with the possibility to render a solid color), #919
39
* **FEATURE** (by @alettsy) Add `sideTitleAlignment` property in our `AxisTitles` to allow you to control the alignment of side titles (for example show them inside the chart), #1946

lib/src/chart/base/axis_chart/axis_chart_scaffold_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class AxisChartScaffoldWidget extends StatefulWidget {
6262
class _AxisChartScaffoldWidgetState extends State<AxisChartScaffoldWidget> {
6363
late TransformationController _transformationController;
6464

65-
final _chartKey = GlobalKey();
65+
final GlobalKey _chartKey = GlobalKey();
6666

6767
FlTransformationConfig get _transformationConfig =>
6868
widget.transformationConfig;

lib/src/chart/base/axis_chart/axis_chart_widgets.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class _SideTitleWidgetState extends State<SideTitleWidget> {
7171
final GlobalKey widgetKey = GlobalKey();
7272
double? _childSize;
7373

74-
void _getChildSize(_) {
74+
void _getChildSize(Duration duration) {
7575
// If fitInside is false, no need to find child size
7676
if (!widget.fitInside.enabled) return;
7777

lib/src/chart/base/axis_chart/scale_axis.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ enum FlScaleAxis {
1212
none;
1313

1414
/// Axes that allow scaling.
15-
static const scalingEnabledAxis = [
15+
static const scalingEnabledAxis = <FlScaleAxis>[
1616
free,
1717
horizontal,
1818
vertical,

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ dependencies:
1818
equatable: ^2.0.7
1919
flutter:
2020
sdk: flutter
21-
vector_math: ^2.1.4
21+
vector_math: ^2.2.0
2222

2323
dev_dependencies:
24-
build_runner: ^2.4.15
24+
build_runner: ^2.8.0
2525
flutter_test:
2626
sdk: flutter
27-
mockito: ^5.4.6
28-
very_good_analysis: ^7.0.0
27+
mockito: ^5.5.1
28+
very_good_analysis: ^9.0.0
2929

3030
screenshots:
3131
- description: "FL Chart Logo"

0 commit comments

Comments
 (0)