Skip to content

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

@mrbm

Description

@mrbm

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions