Closed leong2015 closed 1 month ago
getting the same issue. We have a major release and blocked by this
Yup, blocked by this issue!
same
same
getting the same issue. We have a major release and blocked by this
consider downgrade to 3.22
same
me too
same here . Syncfusion come one what are you doing? You cant release a broken product
I can replicate it
same issue
There is no other solution except making the environment from
environment:
sdk: '>=3.0.0 <4.0.0'
to
environment:
sdk: '>=3.0.0 <3.22.2'
or if you are not using, use code magic. it comes with 500 free minutes as well. set the environment version there to 3.22.2 and all good. no need to do any change in the application.
or if not. there is an other package Graphic which you can use, it has all the charts but with different name.
There is no other solution except making the environment from
environment: sdk: '>=3.0.0 <4.0.0'
to
environment: sdk: '>=3.0.0 <3.22.2'
or if you are not using, use code magic. it comes with 500 free minutes as well. set the environment version there to 3.22.2 and all good. no need to do any change in the application.
or if not. there is an other package Graphic which you can use, it has all the charts but with different name.
Still not working, tried your solution but keep getting same error 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'.
There is no other solution except making the environment from
environment: sdk: '>=3.0.0 <4.0.0'
to
environment: sdk: '>=3.0.0 <3.22.2'
or if you are not using, use code magic. it comes with 500 free minutes as well. set the environment version there to 3.22.2 and all good. no need to do any change in the application. or if not. there is an other package Graphic which you can use, it has all the charts but with different name.
Still not working, tried your solution but keep getting same error 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'.
bro, clear chache with flutter pub cache clean
then remove pubspec.lock update pubspec with the environment. and then run
same after upgrade flutter to 3.24.0
Hi @leong2015, @fingineering, @UmairRehmat1, @soufianebenyaala, @shahindadashov, @hagen00, @viniciusddrft, @Kaddtechnologies, @jchirinosodio, @yogeshButani, @zoualfkar15,
The reported issue arises because 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, v3.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 on second week of September.
Regards,
Preethika Selvam.
what do we do in the meantime?
Hi @leong2015, @fingineering, @UmairRehmat1, @soufianebenyaala, @shahindadashov, @hagen00, @viniciusddrft, @Kaddtechnologies, @jchirinosodio, @yogeshButani, @zoualfkar15,
The reported issue arises because 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, v3.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 on second week of September.
Regards,
Preethika Selvam.
no this needs to be a hotfix as it is a showstopper. September isn't going to cut it. you have paying customers. they come first.
The fix should have been released yesterday
Hi @leong2015, @fingineering, @UmairRehmat1, @soufianebenyaala, @shahindadashov, @hagen00, @viniciusddrft, @Kaddtechnologies, @jchirinosodio, @yogeshButani, @zoualfkar15, The reported issue arises because 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, v3.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 on second week of September. Regards, Preethika Selvam.
no this needs to be a hotfix as it is a showstopper. September isn't going to cut it. you have paying customers. they come first.
The fix should have been released yesterday
The question would be, why is such a popular library using deprecating APIs? I'm sure Flutter didn't just remove those APIs over night, they have probably been deprecated for over a year
It might be better to switch to another package rather than waiting for an update.
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
Instead of releasing this in september, why not trying to review this fork and releasing an official hotfix?
I'm using fvm and am building this with 3.22.3. This is the best solution for me for now.
Are there any updates to release it as a hotfix?
Downgrading flutter for this package creating problem with other packages as well.
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
This is not working anymore, unable to pull after flutter clean. permission changed or something?
Unbelievable. #1907 asked to address this back in June. This is creating all manner of problems for us.
I directly in RenderConstrainedLayoutBuilder defines a markNeedsBuild () can run, but don't know will there be other effects.
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.
Regards, Thilip Chandru.
Thank you @ThilipChandru and team Syncfusion! Thank you guys! :rocket: It works: I just tested it on Flutter 3.24.1 and 3.24.3! Great job, and thanks for the amazing Syncfusion Flutter packages!
Please reopen this ticket if you need further assistance on this.
Bug description
After Flutter update to syncfusion_flutter_charts: ^26.2.8
Steps to reproduce
Code sample
@override Widget build(BuildContext context) { return Scaffold( body: Center( child: Container( child: SfCartesianChart() ) ) ); }
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]Stack Traces
Running Gradle task 'assembleDebug'... ../../../.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 'RenderConstrainedLayoutBuilder<Constraints, RenderObject>'.
On which target platforms have you observed this bug?
Android, iOS
Flutter Doctor output
[✓] Flutter (Channel master, 3.24.0-1.0.pre.487, on macOS 14.5 23F79 darwin-arm64, locale en-GB) • Flutter version 3.24.0-1.0.pre.487 on channel master at /Users/ladong/FlutterDev/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision e0c051f47f (2 hours ago), 2024-08-07 01:52:41 -0400 • Engine revision 5a0fd5fbec • Dart version 3.6.0 (build 3.6.0-122.0.dev) • DevTools version 2.38.0
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/ladong/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) • 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 2022.2) • 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.6+0-17.0.6b802.4-9586694)
[✓] IntelliJ IDEA Community Edition (version 2022.2.2) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 70.2.5 • Dart plugin version 222.4167.21
[✓] VS Code (version 1.90.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (7 available) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 12 (API 32) (emulator) • sdk gphone64 arm64 (mobile) • emulator-5556 • android-arm64 • Android 12 (API 32) (emulator) • wing chung的 iPhone (mobile) • 00008120-000C4909369B401E • ios • iOS 17.5.1 21F90 • iPhone 15 (mobile) • 2BA03989-D75B-44DA-81B2-5609181097E5 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.89
[✓] Network resources • All expected network resources are available.