flutter-examples icon indicating copy to clipboard operation
flutter-examples copied to clipboard

Error: Method 'addPostFrameCallback' cannot be called on 'SchedulerBinding?' because it is potentially null.

Open aldob-mohamed96 opened this issue 2 years ago • 2 comments

aldob-mohamed96 avatar Jun 30 '22 06:06 aldob-mohamed96

this is because you are on some old version of Dart or a beta version. Fix using the project terminal: flutter channel stable then flutter upgrade

yousifpatti avatar Jul 04 '22 07:07 yousifpatti

what version for flutter 2 ? i didnt see the specify for requirement because my project using flutter 2 not flutter 3

yogithesymbian avatar Jul 05 '22 20:07 yogithesymbian

As per the shared information, we have checked the mentioned issue “Error occurred while using the SchedulerBinding method in the Flutter Event  Calendar” in the simple sample and we are unable to reproduce any error from our end. Also please find the tested details from below.

Flutter Version: Channel stable – 3.0.0 Flutter Calendar version: 21.1.41

Can you please confirm are you using the latest Flutter version, if not kindly use the latest version and let us know still if you are facing same issue? It would be helpful for us to analyze and provide you a solution at the earliest.

Indumathi1195R avatar Apr 24 '23 05:04 Indumathi1195R

Flutter: 2.8.1 syncfusion_flutter_calendar: 20.1.47 syncfusion_flutter_datepicker: 20.1.47 worked for me

daradonn avatar Apr 29 '23 02:04 daradonn

Hi daradonn,

Thanks for the update. Please get in touch with us if would you require further assistance.

Regards, Indumathi R

IndumathiR-1995 avatar Jun 23 '23 07:06 IndumathiR-1995