void _takeScreenshot() async {final imageFile = await _screenshotController.capture(); Share.shareFiles([imageFile.path]); }
when I try to call imagefile.the path then it gives me the following errro:
The getter 'path' isn't defined for the type 'Uint8List'.
void _takeScreenshot() async {final imageFile = await _screenshotController.capture(); Share.shareFiles([imageFile.path]); }when I try to call imagefile.the path then it gives me the following errro:
The getter 'path' isn't defined for the type 'Uint8List'.