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

The argument type 'Null Function(Uint8List)' can't be assigned to the parameter type 'FutureOr<dynamic> Function(Uint8List?)'. #172

Closed
lucasjinreal opened this issue Mar 24, 2024 · 2 comments
Labels
help wanted Extra attention is needed Waiting for reply We are waiting on reply from issue reporter.

Comments

@lucasjinreal
Copy link

The argument type 'Null Function(Uint8List)' can't be assigned to the parameter type 'FutureOr Function(Uint8List?)'.

@ritheshSalyan
Copy link
Collaborator

Hi @lucasjinreal,

It looks like there is some type mismatch in your code. Please share some part of your code so that we can help you in resolving that.

@ritheshSalyan ritheshSalyan added help wanted Extra attention is needed Waiting for reply We are waiting on reply from issue reporter. labels Mar 27, 2024
@aryan1107
Copy link

aryan1107 commented Apr 25, 2024

same issue here

Screenshot 2024-04-24 at 8 43 30 PM

update solved it using:

screenshotController.capture(delay: const Duration(milliseconds: 10)).then((Uint8List? image) async {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Waiting for reply We are waiting on reply from issue reporter.
Projects
None yet
Development

No branches or pull requests

3 participants