-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
method 'markNeedsBuild' isn't defined for the class 'RenderConstrainedLayoutBuilder<Constraints, RenderObject>' #2045
Comments
Same here |
when i upgrade flutter then this issue in my project |
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 almost completed 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, |
is there any solution without downgrading flutter ? |
I'm sorry, but that reply is disappointing. If all 3rd party packages would take the stance of forcing older Flutter levels instead of keeping up with the ecosystem, it'd be a chaos. It should be one of your core efforts to have support for official releases of Flutter. |
Fastest way to deal with this: Install https://fvm.app/ Then run fvm use 3.22.3
fvm flutter run |
I think they updated (Now it's compatible with Flutter 3.24): https://pub.dev/packages/syncfusion_flutter_charts/changelog |
latest version can run as normally |
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, |
Bug description
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.11/lib/src/charts/cartesian_chart.dart:1367:22: Error: The method 'markNeedsBuild' isn't defined for the class 'RenderConstrainedLayoutBuilder<Constraints, RenderObject>'.
version ^26.2.11
Steps to reproduce
install that version and try to run a dart project locally using ios simulator iPhone 11 Pro
Code sample
Code sample
inside
/Users/me/.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.11/lib/src/charts/cartesian_chart.dart
Screenshots or Video
Screenshots / Video demonstration
Stack Traces
Stack Traces
On which target platforms have you observed this bug?
iOS
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: