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' #92

Closed
meeximum opened this issue Feb 22, 2022 · 4 comments
Closed

Comments

@meeximum
Copy link

After upgrading to latest flutter version (2.11.0-0.0.pre.637) I get this warning?

/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/multi_select_flutter-4.0.0/lib/chip_field/multi_select_chip_field.dart:273:22: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/E:/mySoftware/flutter/packages/flutter/lib/src/widgets/binding.dart').
      WidgetsBinding.instance!.addPostFrameCallback((_) => _scrollToPosition());
@bubnenkoff
Copy link

bubnenkoff commented May 17, 2022

Same issue on Flutter 3.0

@mohamed155
Copy link

The same issue happens with multi_select_flutter: ^4.1.2

@guyluz11
Copy link

guyluz11 commented Jul 1, 2022

I think it is the same as #105
If so we need to wait that #110 will be marged

@DanielRobert1
Copy link

Please fix this

@CHB61 CHB61 closed this as completed Nov 28, 2022
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

No branches or pull requests

6 participants