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

Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null #125

Closed
ztrag opened this issue May 12, 2022 · 4 comments · Fixed by #126
Closed

Comments

@ztrag
Copy link

ztrag commented May 12, 2022

After flutter upgrade to 3.0.0 the following warning pops up:

./../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/datetime_picker_formfield-2.0.0/lib/datetime_picker_formfield.dart:306:20: Warning: Operand of null-aware
operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((_) {
@rhernandez-itemsoft
Copy link

This error continues

image
image
image

@ammarhemani
Copy link

Facing the same error

@mohhamad-esmaili
Copy link

same here ;/

@ozhankucuk
Copy link

same error

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.

5 participants