Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.

Hi

After upgrade to Flutter 3.0 this plugin do not work anymore because give me this error:


Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.

 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/opt/homebrew/Caskroom/flutter/2.2.3/flutter/packages/flutter/lib/src/scheduler/binding.dart').

        SchedulerBinding.instance!.addPostFrameCallback((_) {

                         ^

Seems to be a warning, but BUILD FAILED.

I need with urgency that updated all plugin of syncfusion with compatibility to Flutter 3.0.



2 Replies

YG Yuvaraj Gajaraj Syncfusion Team May 13, 2022 02:52 PM UTC

Hi Michele,


Greetings from Syncfusion. The reported issue got reproduced at our end because of the new Flutter version upgrade. We are now working on this and will include the fix in our next weekly patch release. We will let you know once the release got rolled out. We appreciate your patience until then.


Regards,

Yuvaraj.



YG Yuvaraj Gajaraj Syncfusion Team May 17, 2022 02:11 PM UTC

Hi Michele,


Thanks for your patience. The issues with Flutter v3.0.0 have been fixed and rolled out in our weekly patch release. To avoid the issues, please upgrade our package to the latest version 20.1.56.


Regards,

Yuvaraj.


Loader.
Up arrow icon