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.0 is detecting issue with the library #78

Closed
RoyalCoder88 opened this issue May 14, 2022 · 3 comments
Closed

Flutter 3.0.0 is detecting issue with the library #78

RoyalCoder88 opened this issue May 14, 2022 · 3 comments

Comments

@RoyalCoder88
Copy link

../../../Documents/flutter/.pub-cache/hosted/pub.dartlang.org/marquee-2.2.1/lib/marquee.dart:545:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.

  • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Documents/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance?.addPostFrameCallback((_) async {
@MarcelGarus
Copy link
Owner

Thanks! I just published version 2.2.2, which supports Dart 2.18 and Flutter 3.

@RoyalCoder88
Copy link
Author

Hi @MarcelGarus , thanks for your support and for your quick fix ;)

The marquee package depends on fading_edge_scrollview, who has the same issue with Flutter 3.0, can you remove please the dependencies of fading_edge_scrollview? Thanks in advance!

@MarcelGarus
Copy link
Owner

The marquee package actively uses fading_edge_scrollview, so it's impossible to remove the dependency without including major parts of its source code in marquee itself. You should take it up with that package's maintainer (I see you already did in mponkin/fading_edge_scrollview#16).

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

2 participants