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 after flutter 3.0 #58

Closed
SainathChallagundla opened this issue May 20, 2022 · 3 comments · Fixed by #59
Closed

warning after flutter 3.0 #58

SainathChallagundla opened this issue May 20, 2022 · 3 comments · Fixed by #59

Comments

@SainathChallagundla
Copy link

/C:/Users/Bala/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/textfield_tags-2.0.0+1/lib/src/controller.dart:86:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.

  • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/Users/Bala/flutter/packages/flutter/lib/src/widgets/binding.dart').
    package:flutter/…/widgets/binding.dart:1
    WidgetsBinding.instance!.addPostFrameCallback((_) {

after switched to flutter 3.0 and textfield_tags 2.0.0+1 getting this warning.

@minhdanh
Copy link

Seeing this warning as well

@Deltap3
Copy link
Contributor

Deltap3 commented Jun 10, 2022

I have this problem aswell and this is my PR to fix it ;) #59

@eyoeldefare
Copy link
Owner

Thanks @Deltap3 for the PR. I will merge this soon.

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.

4 participants