Skip to content

image pick is not supported in Web #976

@MohammedSalehelShazly

Description

@MohammedSalehelShazly

My issue is about Web platform

I have tried running [flutter_quill example] (https://github.com/singerdmx/flutter-quill/tree/master/example)
The error occurred in ### getApplicationDocumentsDirectory

  Future<String> onImagePickCallback(File file) async {
    // Copies the picked file from temporary cache to applications directory
    final appDocDir = await getApplicationDocumentsDirectory();
    final copiedFile =
        await file.copy('${appDocDir.path}/${basename(file.path)}');
    return copiedFile.path.toString();
  }

i'm user latest version of flutter and of the plugin
flutter 3.3.4, flutter_quill: ^6.0.8+1

any other solution?

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