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

Flutter 3.0 compile warning #53

Open
hs029 opened this issue May 13, 2022 · 5 comments
Open

Flutter 3.0 compile warning #53

hs029 opened this issue May 13, 2022 · 5 comments

Comments

@hs029
Copy link

hs029 commented May 13, 2022

../../../appdev/flutter/.pub-cache/hosted/pub.dartlang.org/flustars-2.0.1/lib/src/widget_util.dart:26:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.

  • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../appdev/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance?.addPostFrameCallback((Duration timeStamp) {
    ^
    ../../../appdev/flutter/.pub-cache/hosted/pub.dartlang.org/flustars-2.0.1/lib/src/widget_util.dart:44:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
  • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../appdev/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance?.addPostFrameCallback((Duration timeStamp) {
@purgeyao
Copy link

@Sky24n +1

2 similar comments
@wtjperi2003
Copy link

@Sky24n +1

@LoveShadowing
Copy link

@Sky24n +1

@LoveShadowing
Copy link

flustars_flutter3: ^3.0.0

@mdddj
Copy link

mdddj commented Jun 8, 2022

flustars_flutter3: ^3.0.0

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

5 participants