Skip to content

Shipping broken. FilePicker.getFile() doesn't exist #16

@cyberalt1

Description

@cyberalt1
  final file = await FilePicker.getFile();
  try {
    final thumbnail = await FilePreview.getThumbnail(file.path);
    setState(() {
        image = thumbnail;
        });
  } catch (e) {
    image = Image.asset("");
  }

Filepicker.getFile() doesn't exist
Code is copied and pasted from the pub.dev page

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions