This is my problem, and I show you how to solve it.
../../../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.10/lib/src/charts/cartesian_chart.dart:1367:22: Error: The method 'markNeedsBuild' isn't defined for the class 'RenderConstrainedLayoutBuilder<Constraints, RenderObject>'.
- 'RenderConstrainedLayoutBuilder' is from 'package:flutter/src/widgets/layout_builder.dart' ('../../../../Development/flutter/packages/flutter/lib/src/widgets/layout_builder.dart').
- 'Constraints' is from 'package:flutter/src/rendering/object.dart' ('../../../../Development/flutter/packages/flutter/lib/src/rendering/object.dart').
- 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../../Development/flutter/packages/flutter/lib/src/rendering/object.dart').
Try correcting the name to the name of an existing method, or defining a method named 'markNeedsBuild'.
renderObject.markNeedsBuild();
^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-26.2.10/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.10/lib/src/charts/base.dart').
Try correcting the name to the name of an existing method, or defining a method named 'markNeedsBuild'.
markNeedsBuild();
^^^^^^^^^^^^^^
Solution : just go to this path
('../../../../Development/flutter/packages/flutter/lib/src/rendering/object.dart').
and write a function like
now run your project .
you can see this video https://youtu.be/XjqpYEdf4NE