skip to Main Content

Error with 'markNeedsBuild' in syncfusion_flutter_charts After Flutter Upgrade

I'm using the Syncfusion Chart in my Flutter application, and everything was working fine until I upgraded Flutter to the latest version. Now, I'm encountering the following error during debugging: Error (Xcode): ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-25.2.6/lib/src/charts/cartesian_chart.dart:1367:22: Error: The method 'markNeedsBuild' isn't defined for…

VIEW QUESTION

Error: Method not found: 'NullThrownError' in flutter

I was getting the below error while running the flutter application post flutter upgrade to 3.10.6 Failed to build build_runner:build_runner: /C:/Users/Admin/AppData/Local/Pub/Cache/hosted/pub.dev/build_runner-2.3.2/lib/src/build_script_generate/bootstrap.dart:76:40: Error: Method not found: 'NullThrownE rror'. final error = e[0] as Object? ?? NullThrownError(); ^^^^^^^^^^^^^^^

VIEW QUESTION

Modal Bottom sheet route issue in flutter 3.7.0

I have upgraded my flutter version from 3.3.10 to 3.7.0 and now getting the following error. ModalBottomSheetRoute' is imported from both 'package:flutter/src/material/bottom_sheet.dart' and 'package:modal_bottom_sheet/src/bottom_sheet_route.dart I tried to follow this Error: 'ModalBottomSheetRoute' is imported from both but solutions didn't work for…

VIEW QUESTION
Back To Top
Search