Welcome to the Flutter feedback portal. We’re happy you’re here! If you have feedback on how to improve the Flutter, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

Hi

I am building this plugin but do not work anymore because give me this error:


~/flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_flutter_charts-20.1.58/lib/src/chart/base/chart_base.dart:1820:35: Error: Method 'addPostFrameCallback' cannot be called on 'SchedulerBinding?' because it is potentially null.

 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/Data/flutter/packages/flutter/lib/src/scheduler/binding.dart').

Try calling using ?. instead.

        SchedulerBinding.instance.addPostFrameCallback((_) {

                                  ^^^^^^^^^^^^^^^^^^^^

I need with urgency that updated all plugin of syncfusion with codemagic


Regards,

Cees