Updates plugin_platform_interface
This commit is contained in:
parent
cae0765e3e
commit
e8075e3f96
|
@ -1,4 +1,4 @@
|
|||
## 3.0.0-nullsafety.2
|
||||
## 3.0.0-nullsafety.4
|
||||
Adds null safety support (pre-release) ([#510](https://github.com/miguelpruivo/flutter_file_picker/issues/510)).
|
||||
## 2.1.7
|
||||
### iOS
|
||||
|
|
|
@ -19,7 +19,7 @@ class FilePickerResult {
|
|||
/// original files (which can be accessed through its URI property).
|
||||
///
|
||||
/// Only available on IO. Throws `UnsupportedError` on Web.
|
||||
List<String> get paths => files
|
||||
List<String?> get paths => files
|
||||
.map((file) => kIsWeb
|
||||
? throw UnsupportedError(
|
||||
'Picking paths is unsupported on Web. Please, use bytes property instead.')
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
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.
|
||||
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker
|
||||
version: 3.0.0-nullsafety.2
|
||||
version: 3.0.0-nullsafety.4
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
@ -10,10 +10,10 @@ dependencies:
|
|||
sdk: flutter
|
||||
|
||||
flutter_plugin_android_lifecycle: ^2.0.0-nullsafety
|
||||
plugin_platform_interface: ^1.1.0-nullsafety.1
|
||||
plugin_platform_interface: ^2.0.0
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0-29.10.beta <3.0.0"
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
flutter: ">=1.10.0 <2.0.0"
|
||||
|
||||
flutter:
|
||||
|
|
Loading…
Reference in New Issue