Skip to content

The getter 'path' isn't defined for the type 'Uint8List'. #3

@akashlilhare

Description

@akashlilhare

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'.

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