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 warning #81

Open
jiushicheng123 opened this issue Jul 14, 2022 · 4 comments
Open

flutter 3.0 warning #81

jiushicheng123 opened this issue Jul 14, 2022 · 4 comments

Comments

@jiushicheng123
Copy link

../.pub-cache/hosted/pub.flutter-io.cn/scrollable_positioned_list-0.2.3/lib/src/scrollable_positioned_list.dart:439:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.

  • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../Downloads/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance!.addPostFrameCallback((_) {
@zhazhazsy
Copy link

+1

2 similar comments
@cntoss77
Copy link

+1

@cds803
Copy link

cds803 commented Aug 22, 2022

+1

@patrick-enzo
Copy link

patrick-enzo commented Sep 2, 2022

A solution that I found in a different issue that has a temporary fix.

Alternatively, can force to use scrollable_positioned_list: ^0.3.2 in pubspec.yaml.

dependency_overrides:
  scrollable_positioned_list: ^0.3.2

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