Open AgnelSelvan opened 1 month ago
I have also problem
I have also problem after i updating my flutter version to 3.24.0
Same problem after upgrading Flutter to 3.24.0
same problem
Same problem here as well
same problem
Duplicate of https://github.com/syncfusion/flutter-widgets/issues/2008 and https://github.com/syncfusion/flutter-widgets/issues/1907
tl;dr: The fix will be released in mid September [source] Solution: Use the unofficial workaround or downgrade Flutter to 3.22 until the next release
as a temporary solution for those who migrate to Flutter 3.24 use:
syncfusion_flutter_charts:
git:
url: https://github.com/Luvti/flutter-widgets
path: packages/syncfusion_flutter_charts
ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24
Same problem
Tried @Luvti solution seems to be working. It can save us for some time while waiting for a fix in the package
Hi All,
The reported issue arises because the Flutter SDK was upgraded to version 3.24.0 on August 6, 2024, while our packages are currently compatible with Flutter SDK version 3.22.3. We have begun evaluating the compatibility and feasibility of updating our packages to work with the latest Flutter version, 3.24.0. We plan to make our packages compatible and include them in our Volume 3 main release, which is expected to be rolled out in the second week of September. In the meantime, we kindly request that you use Flutter SDK version 3.22.3 when working with our syncfusion_flutter_charts package.
Regards, Preethika Selvam.
Same probleme here!
same problem here.
same problem here.
Try @Luvti solution, It's a temp solution while waiting for a fix in the package in Sep
same error here on windows
same error here on windows
as a temporary solution for those who migrate to Flutter 3.24 use:
syncfusion_flutter_charts:
git:
url: https://github.com/Luvti/flutter-widgets
path: packages/syncfusion_flutter_charts
ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24
same error here on windows
as a temporary solution for those who migrate to Flutter 3.24 use:
syncfusion_flutter_charts: git: url: https://github.com/Luvti/flutter-widgets path: packages/syncfusion_flutter_charts ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24
failed to clone it for me any idea why ?
same error here on windows
as a temporary solution for those who migrate to Flutter 3.24 use:
syncfusion_flutter_charts: git: url: https://github.com/Luvti/flutter-widgets path: packages/syncfusion_flutter_charts ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24
failed to clone it for me any idea why ?
Try again.
The Flutter 3.24.0 is on stable channel and this plugin syncfusion_flutter_charts is not compatible with it due to this error. It would require prompt fix.
i need this fix too 😰
syncfusion_flutter_charts: git: url: https://github.com/Luvti/flutter-widgets path: packages/syncfusion_flutter_charts ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24
[ff] flutter pub get --no-example Resolving dependencies... Because every version of syncfusion_flutter_charts from git depends on syncfusion_flutter_core from git and ff depends on syncfusion_flutter_core from hosted, syncfusion_flutter_charts from git is forbidden. So, because ff depends on syncfusion_flutter_charts from git, version solving failed.
forbidden if i use syncfusion_flutter_core too 😰
Duplicate of #2008 and #1907
tl;dr: The fix will be released in mid September [source] Solution: Use the unofficial workaround or downgrade Flutter to 3.22 until the next release
thanks, now i should pull all syncfusion from git then
this repository is not up to date, latest commit is 2 months old, package version from pub.dev differs from here
please fix this issue, the package is not working on Flutter 3.24.0
same problem
syncfusion_flutter_charts: git: url: https://github.com/Luvti/flutter-widgets path: packages/syncfusion_flutter_charts ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24
You'll need to use like
dependency_overrides:
syncfusion_flutter_charts:
git:
url: https://github.com/Luvti/flutter-widgets
path: packages/syncfusion_flutter_charts
ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24
syncfusion_flutter_core:
git:
url: https://github.com/Luvti/flutter-widgets
path: packages/syncfusion_flutter_core
ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24
same here
syncfusion_flutter_charts: git: url: https://github.com/Luvti/flutter-widgets path: packages/syncfusion_flutter_charts ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24
You'll need to use like
dependency_overrides: syncfusion_flutter_charts: git: url: https://github.com/Luvti/flutter-widgets path: packages/syncfusion_flutter_charts ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24 syncfusion_flutter_core: git: url: https://github.com/Luvti/flutter-widgets path: packages/syncfusion_flutter_core ref: 15e3c4a95e3cf2e2393755bf5aa11c0206ed6dea #flutter/3.24
This Worked For me Just add in dependency_overrides not in dependencies
I think they updated (Now it's compatible with Flutter 3.24): https://pub.dev/packages/syncfusion_flutter_charts/changelog
Hi All,
Thank you for your patience. We have upgraded our Flutter Charts package to be compatible with Flutter SDK 3.24.0. We kindly request you to upgrade Flutter Charts to the latest version.
Charts: https://pub.dev/packages/syncfusion_flutter_charts/versions/26.2.14
Regards, Thilip Chandru.
Bug description
After updating the Flutter version to
3.24.0
, facing an issue in syncfusion_flutter_charts something related to 'markNeedsBuild'.Syncfusion Version
syncfusion_flutter_charts: ^26.2.8
PlatformMacOS
Steps to reproduce
Code sample
Code sample
```dart SfCartesianChart( zoomPanBehavior: ZoomPanBehavior( enablePanning: true, enableMouseWheelZooming: true, enablePinching: true, ), plotAreaBorderWidth: 0, title: ChartTitle(text: title), primaryXAxis: CategoryAxis( majorGridLines: const MajorGridLines(width: 0), title: AxisTitle(text: "Category"), interval: 1, labelRotation: 90, ), primaryYAxis: NumericAxis( axisLine: const AxisLine(width: 0), title: AxisTitle(text: "Amount in Rs"), labelFormat: '₹ {value}', majorTickLines: const MajorTickLines(size: 0), ), series: _getDefaultColumnSeries(datas), tooltipBehavior: tooltipBehavior, ) ```Screenshots or Video
Screenshots / Video demonstration
https://github.com/user-attachments/assets/a105ba50-6107-4891-9ea0-7ad3d49436d3Stack Traces
Stack Traces
```dart ../../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.8/lib/src/charts/base.dart:3317:7: Error: The method 'markNeedsBuild' isn't defined for the class 'RenderLoadingIndicator'. - 'RenderLoadingIndicator' is from 'package:syncfusion_flutter_charts/src/charts/base.dart' ('../../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.8/lib/src/charts/base.dart'). Try correcting the name to the name of an existing method, or defining a method named 'markNeedsBuild'. markNeedsBuild(); ^^^^^^^^^^^^^^ ../../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.8/lib/src/charts/cartesian_chart.dart:1367:22: Error: The method 'markNeedsBuild' isn't defined for the class 'RenderConstrainedLayoutBuilderOn which target platforms have you observed this bug?
macOS
Flutter Doctor output
Doctor output
```console [✓] Flutter (Channel stable, 3.24.0, on macOS 14.6 23G80 darwin-arm64, locale en-GB) • Flutter version 3.24.0 on channel stable at /Users/a.selvan/Documents/tools/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 80c2e84975 (11 days ago), 2024-07-30 23:06:49 +0700 • Engine revision b8800d88be • Dart version 3.5.0 • DevTools version 2.37.2 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/a.selvan/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15F31d • CocoaPods version 1.15.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2023.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160) [✓] VS Code (version 1.92.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.94.0 [✓] VS Code (version 1.89.1) • VS Code at /Users/a.selvan/Downloads/Visual Studio Code.app/Contents • Flutter extension version 3.94.0 [✓] Connected device (4 available) • Mr.Useless iPhone (mobile) • 00008030-000959562233402E • ios • iOS 18.0 22A5307i • macOS (desktop) • macos • darwin-arm64 • macOS 14.6 23G80 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.6 23G80 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.100 [✓] Network resources • All expected network resources are available. • No issues found! ```