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

have you been able to get this to run on the latest flutter beta? #12

Open
mrbm opened this issue Mar 26, 2018 · 2 comments
Open

have you been able to get this to run on the latest flutter beta? #12

mrbm opened this issue Mar 26, 2018 · 2 comments

Comments

@mrbm
Copy link

mrbm commented Mar 26, 2018

Was gonna try playing with your app, but having trouble getting it to run with the current flutter beta. Kinda new to flutter so I thought i would experiment with your code.

Android studio is unhappy here:

receiveStream.listen((BackgroundFunction backgroundFunction) {
  print("Worker: working");
  var result = backgroundFunction();
  workDay.sendPort.send(result);
  print("Worker: idle");

});

With android studio stating:

A function of type '(BackgroundFunction) -> Null' can't be assigned to a location of type '(dynamic) -> void'.

Thoughts?

@jaiminmehtadxred
Copy link

I am facing the same issue with latest flutter update

@vahidnety
Copy link

I have the same problem too. Have u found any solution to fix it?

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

3 participants