Fixes multi-pick example on README

This commit is contained in:
Miguel Ruivo 2020-09-25 15:28:01 +01:00
parent 9aa951b4ad
commit b46422a195
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
## 2.0.2+2
Fixes multi-pick example on README.
## 2.0.2+1 ## 2.0.2+1
iOS: Fixes conditional import for backwards compatibility with Xcode 11. iOS: Fixes conditional import for backwards compatibility with Xcode 11.

View File

@ -66,7 +66,7 @@ if(result != null) {
FilePickerResult result = await FilePicker.platform.pickFiles(allowMultiple: true); FilePickerResult result = await FilePicker.platform.pickFiles(allowMultiple: true);
if(result != null) { if(result != null) {
List<File> files = result.paths.map((path) => File(path)); List<File> files = result.paths.map((path) => File(path)).toList();
} }
``` ```
#### Multiple files with extension filter #### Multiple files with extension filter

View File

@ -1,7 +1,7 @@
name: file_picker name: file_picker
description: A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support. description: A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support.
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker
version: 2.0.2+1 version: 2.0.2+2
dependencies: dependencies:
flutter: flutter: