Skip to content

No implementation found for method saveFile on channel flutter_file_dialog #50

@tuceturan

Description

@tuceturan

Hello,
I'm using OpenFileDialogParams pickFile;
It throws error : No implementation found for method saveFile on channel flutter_file_dialog. When not select file with this method and after close page and try savedialog file in another page
My code;
final params = OpenFileDialogParams(
dialogType: OpenFileDialogType.image,
sourceType: SourceType.photoLibrary,
);
result = await FlutterFileDialog.pickFile(params: params);
// Navigator.of(context).pop(true);
if (result != null) if (p.extension(result) != '.png' &&
p.extension(result) != '.jpeg' &&
p.extension(result) != '.jpg') {
AppService.helper.showSnackBar(
TranslateLanguage.of(context).localisedString(
'error_extension', {'ext': '.jpeg,png or jpg'}),
false,
this.context);
} else {
_path = result;
_setImageWidget();
}

Can you help?

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