From 6f3c10cfd513581f370901848a044ba377bc8d85 Mon Sep 17 00:00:00 2001 From: Putin Pavel Alexandrovich <49764506+PavelPutin@users.noreply.github.com> Date: Tue, 13 May 2025 21:40:29 +0300 Subject: [PATCH] Update README.md in flutter_dropzone Change file.webFile to file.getNative() because there isn't webFile getter. --- flutter_dropzone/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flutter_dropzone/README.md b/flutter_dropzone/README.md index 71353a7..c86de4d 100644 --- a/flutter_dropzone/README.md +++ b/flutter_dropzone/README.md @@ -14,7 +14,7 @@ DropzoneView( onLoaded: () => print('Zone loaded'), onError: (String? ev) => print('Error: $ev'), onHover: () => print('Zone hovered'), - onDropFile: (DropzoneFileInterface file) => print('Drop: ${file.webFile}'), + onDropFile: (DropzoneFileInterface file) => print('Drop: ${file.getNative()}'), onDropString: (String s) => print('Drop: $s'), onDropFiles: (List files) => print('Drop multiple: $files'), onDropStrings: (List strings) => print('Drop multiple: $strings'), @@ -93,4 +93,4 @@ your Flutter for any reason. If you like this package, please consider supporting it. -Buy Me A Book \ No newline at end of file +Buy Me A Book