Closed lucasjinreal closed 2 months ago
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.
same issue here
update solved it using:
screenshotController.capture(delay: const Duration(milliseconds: 10)).then((Uint8List? image) async {
The argument type 'Null Function(Uint8List)' can't be assigned to the parameter type 'FutureOr Function(Uint8List?)'.