After Flutter 2.24 update Compile Problem

/C:/Users/Ayberk.A/AppData/Local/Pub/Cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.8/lib/src/charts/common/core_tooltip.dart(168,22): error GE5CFE876: The method 'markNeedsBuild' isn't defined for the class 'RenderConstrainedLayoutBuilder<Constraints, RenderObject>'. [C:\FlutterProjects\calendar_event\build\windows\x64\flutter\flutter_assemble.vcxproj]
/C:/Users/Ayberk.A/AppData/Local/Pub/Cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.8/lib/src/charts/common/core_legend.dart(452,22): error GE5CFE876: The method 'markNeedsBuild' isn't defined for the class 'RenderConstrainedLayoutBuilder<Constraints, RenderObject>'. [C:\FlutterProjects\calendar_event\build\windows\x64\flutter\flutter_assemble.vcxproj]

I am seeing this error after updating to Flutter 2.24.

After Flutter 2.24 update made, I am seeing this error


5 Replies

YB Yogesh Butani August 8, 2024 06:18 AM UTC

Same issue, please update the package or provide some solution for this



YB Yogesh Butani August 8, 2024 06:18 AM UTC

hey! did you find some solution for this issue?



AY Ayberk August 8, 2024 06:40 AM UTC

For now, you can downgrade Flutter. Write this to terminal.

flutter downgrade v2.22.3



PS Preethika Selvam Syncfusion Team August 8, 2024 01:26 PM UTC

Hi Aybery, Yogesh,


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.



TC Thilip Chandru Soundraraj Syncfusion Team September 11, 2024 05:25 AM UTC

Hi Ayberk,


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.



Loader.
Up arrow icon