I am encountering an issue with the syncfusion_flutter_charts package version 26.2.9 in my Flutter project. The following error messages are displayed during the build process:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
../../AppData/Local/Pub/Cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.9/lib/src/charts/common/core_tooltip.dart(168,22): error GE5CFE876: The method 'markNeedsBuild' isn't defined for the class 'RenderConstrainedLayoutBuilder<Constraints, RenderObject>'.
../../AppData/Local/Pub/Cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.9/lib/src/charts/common/core_legend.dart(452,22): error GE5CFE876: The method 'markNeedsBuild' isn't defined for the class 'RenderConstrainedLayoutBuilder<Constraints, RenderObject>'.
../../AppData/Local/Pub/Cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.9/lib/src/charts/common/element_widget.dart(117,5): error GE5CFE876: The method 'markNeedsBuild' isn't defined for the class 'RenderChartElementLayoutBuilder<T, D>'.
../../AppData/Local/Pub/Cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.9/lib/src/charts/base.dart(3317,7): error GE5CFE876: The method 'markNeedsBuild' isn't defined for the class 'RenderLoadingIndicator'.
../../AppData/Local/Pub/Cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.9/lib/src/charts/cartesian_chart.dart(1367,22): error GE5CFE876: The method 'markNeedsBuild' isn't defined for the class 'RenderConstrainedLayoutBuilder<Constraints, RenderObject>'.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Flutter SDK Version: 3.5.0 (stable)
Dart SDK Version: 3.5.0 (stable)
Minimal Reproducible Example:
environment:
sdk: ">=2.17.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
syncfusion_flutter_charts: ^26.2.9