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

Unable to run this project #135

Open
ostriandoni opened this issue Feb 14, 2023 · 0 comments
Open

Unable to run this project #135

ostriandoni opened this issue Feb 14, 2023 · 0 comments

Comments

@ostriandoni
Copy link

flutter run
Multiple devices found:
Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.2486]
Chrome (web)      • chrome  • web-javascript • Google Chrome 109.0.5414.122
Edge (web)        • edge    • web-javascript • Microsoft Edge 110.0.1587.41
[1]: Windows (windows)
[2]: Chrome (chrome)
[3]: Edge (edge)
Please choose one (To quit, press "q/Q"): 2
Launching lib\main.dart on Chrome in debug mode...
../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/another_flushbar-1.12.29/lib/flushbar.dart:350:31: Error: Method 'addPostFrameCallback' cannot be called on 'SchedulerBinding?' because it is potentially null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../flutter/packages/flutter/lib/src/scheduler/binding.dart').
Try calling using ?. instead.
    SchedulerBinding.instance.addPostFrameCallback(
                              ^^^^^^^^^^^^^^^^^^^^
Waiting for connection from debug service on Chrome...             31.5s
Failed to compile application.

I tried to execute all step by step at How to Use section but when I run this project, it return an error

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

1 participant