Open akashlilhare opened 3 years ago
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'.
hello, captured image available in memory. You have to save it (to get path) or use it from memory (like Image.memory()). Look at the screenshot package readme and examples
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'.