file_picker_cross 4.6.0 file_picker_cross: ^4.6.0 copied to clipboard
Select, open, choose or pick documents, images videos or other files on Android, iOS, the desktop and the web for reading, writing, use as String, byte list or HTTP uploads.
We analyzed this package 20 hours ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: EUPL-1.2
.
10/10 points: 20% or more of the public API has dartdoc comments
28 out of 31 API elements (90.3 %) have documentation comments.
Some symbols that are missing documentation: file_picker_cross
, file_picker_cross.FileSelectionCanceledError.platformError
, file_picker_cross.FileSelectionCanceledError.reason
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:file_picker_cross/file_picker_cross.dart
that imports:package:file_picker_cross/src/file_picker_io.dart
that imports:package:file_picker_cross/src/file_picker_mobile.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:file_picker_cross/file_picker_cross.dart
that imports:package:file_picker_cross/src/file_picker_io.dart
that imports:package:file_picker_cross/src/file_picker_mobile.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:file_picker_cross/file_picker_cross.dart
that imports:package:file_picker_cross/src/file_picker_io.dart
that imports:package:file_picker_cross/src/file_picker_desktop.dart
that imports:package:file_selector/file_selector.dart
that declares support for platforms:Web
.
Package does not support platform `Linux`.
Because:
package:file_picker_cross/file_picker_cross.dart
that imports:package:file_picker_cross/src/file_picker_io.dart
that imports:package:file_picker_cross/src/file_picker_mobile.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:file_picker_cross/file_picker_cross.dart
that imports:package:file_picker_cross/src/file_picker_io.dart
that imports:package:file_picker_cross/src/file_picker_mobile.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: The method 'NullThrownError' isn't defined for the type 'FilePickerCross'.
lib/file_picker_cross.dart:59:16
╷
59 │ throw (NullThrownError());
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/file_picker_cross.dart
ERROR: The method 'NullThrownError' isn't defined for the type 'FilePickerCross'.
lib/file_picker_cross.dart:81:16
╷
81 │ throw (NullThrownError());
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/file_picker_cross.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
disk_space |
^0.2.1 |
0.2.1 | 0.2.1 |
file_picker |
^4.5.1 |
4.6.1 | 8.1.4 |
file_selector |
^0.8.2 |
0.8.2+1 | 1.0.3 |
file_selector_linux |
^0.0.2 |
0.0.3 | 0.9.3+1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_file_dialog |
^2.3.0 |
2.3.2 | 3.0.2 |
http |
^0.13.4 |
0.13.6 | 1.2.2 |
http_parser |
^4.0.0 |
4.0.2 | 4.1.1 |
package_info_plus |
^1.4.2 |
1.4.2 | 8.1.1 |
path_provider |
^2.0.9 |
2.0.15 | 2.1.5 |
share_plus |
^4.0.4 |
4.5.3 | 10.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
cross_file |
- | 0.3.4+2 | 0.3.4+2 |
crypto |
- | 3.0.6 | 3.0.6 |
ffi |
- | 1.2.1 | 2.1.3 |
file |
- | 6.1.4 | 7.0.1 |
file_selector_platform_interface |
- | 2.6.2 | 2.6.2 |
file_selector_web |
- | 0.8.1+5 | 0.9.4+2 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter_plugin_android_lifecycle |
- | 2.0.23 | 2.0.23 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
mime |
- | 1.0.6 | 2.0.0 |
package_info_plus_linux |
- | 1.0.5 | 2.0.0 |
package_info_plus_macos |
- | 1.3.0 | 2.0.0 |
package_info_plus_platform_interface |
- | 1.0.2 | 3.0.1 |
package_info_plus_web |
- | 1.0.6 | 2.0.0 |
package_info_plus_windows |
- | 1.0.5 | 3.0.0 |
path |
- | 1.9.1 | 1.9.1 |
path_provider_android |
- | 2.2.14 | 2.2.14 |
path_provider_foundation |
- | 2.4.0 | 2.4.0 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.0.7 | 2.3.0 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
share_plus_linux |
- | 3.0.1 | 3.0.1 |
share_plus_macos |
- | 3.0.1 | 3.0.1 |
share_plus_platform_interface |
- | 3.4.0 | 5.0.1 |
share_plus_web |
- | 3.1.0 | 3.1.0 |
share_plus_windows |
- | 3.0.1 | 4.0.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
url_launcher |
- | 6.3.1 | 6.3.1 |
url_launcher_android |
- | 6.3.14 | 6.3.14 |
url_launcher_ios |
- | 6.3.1 | 6.3.1 |
url_launcher_linux |
- | 3.2.1 | 3.2.1 |
url_launcher_macos |
- | 3.2.1 | 3.2.1 |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 |
url_launcher_web |
- | 2.3.3 | 2.3.3 |
url_launcher_windows |
- | 3.1.3 | 3.1.3 |
uuid |
- | 4.5.1 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
win32 |
- | 2.6.1 | 5.8.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 7 issues. Showing the first 2:
The constraint `^4.5.1` on file_picker does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions file_picker
to update the constraint.
The constraint `^0.8.2` on file_selector does not support the stable version `0.9.0`.
Try running dart pub upgrade --major-versions file_selector
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 6 errors:
UNDEFINED_METHOD
-lib/file_picker_cross.dart:59:16
- The method 'NullThrownError' isn't defined for the type 'FilePickerCross'.UNDEFINED_METHOD
-lib/file_picker_cross.dart:81:16
- The method 'NullThrownError' isn't defined for the type 'FilePickerCross'.UNDEFINED_METHOD
-lib/file_picker_cross.dart:136:14
- The method 'NullThrownError' isn't defined for the type 'FilePickerCross'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.15
, Flutter 3.24.5
, Dart 3.5.4
.
Check the analysis log for details.