syncfusion / flutter-examples

This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.
Other
1.98k stars 775 forks source link

syncfusion_flutter_calendar: ^20.1.58 Build Failed #634

Closed metanoia2707 closed 1 year ago

metanoia2707 commented 2 years ago

/D:/Software/flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_flutter_calendar-20.1.58/lib/src/calendar/sfcalendar.dart:2867:31: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.

Indumathi1195R commented 2 years ago

Hi,

Based on the shared information, we have checked the mentioned issue “Error occurred while using the addPostFrameCallback in the Flutter Calendar”. We have checked the mentioned issue in 20.1.58 version and we are unable to reproduce the mentioned issue from our end. Also, can you please confirm if you are using the latest flutter version? Otherwise, kindly update to the latest flutter version and check still if you are facing same issue.

Regards, Indumathi R

bobwiller commented 2 years ago

@Indumathi1195R confirming this error with flutter 3.0.1 and 3.0.2 and syncfusion_flutter_datepicker: ^20.1.60 on Android:

/C:/Users/xxx/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/syncfusion_flutter_datepicker-20.1.60/lib/src/date_picker/date_picker.dart:8059:31: Error: Method 'addPostFrameCallback' cannot be called on 'SchedulerBinding?' because it is potentially null.

/C:/Users/xxx/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/syncfusion_flutter_datepicker-20.1.60/lib/src/date_picker/date_picker.dart:9826:31: Error: Method 'addPostFrameCallback' cannot be called on 'SchedulerBinding?' because it is potentially null.

Indumathi1195R commented 2 years ago

Hi,

We have checked with the mentioned error with flutter 3.0.5 and syncfusion_flutter_datepicker: ^20.1.60. We are unable to reproduce the any error from our end. Can you please check with the latest version once and let us know still if you are facing issue? It would be helpful for us to analyze and provide you a solution at the earliest.

Regards, Indumathi R

daradonn commented 1 year ago

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