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