Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPORTANT] fl_charts needs fix to work on Flutter 3.0.0 #997

Closed
kitsuniru opened this issue May 11, 2022 · 0 comments · Fixed by #999
Closed

[IMPORTANT] fl_charts needs fix to work on Flutter 3.0.0 #997

kitsuniru opened this issue May 11, 2022 · 0 comments · Fixed by #999

Comments

@kitsuniru
Copy link

Steps to Reproduce

Just update your flutter to 3.0.0

Versions

  • which version of the Flutter are you using? - 3.0.0
  • which version of the FlChart are you using? - 0.50.1

Actual results

/D:/flutter/.pub-cache/hosted/pub.dartlang.org/fl_chart-0.50.1/lib/src/chart/pie_chart/pie_chart.dart:42:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/D:/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance?.addPostFrameCallback((_) {
                   ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant