pfile_picker 4.5.1+3
pfile_picker: ^4.5.1+3 copied to clipboard
Variation of file_picker that uses an external pfile definition
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: pfile_picker
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: pfile_picker
.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/miguelpruivo/flutter_file_picker/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
25 out of 54 API elements (46.3 %) have documentation comments.
Some symbols that are missing documentation: pfile_picker
, pfile_picker.FileOf
, pfile_picker.FilePicker.FilePicker.new
, pfile_picker.FilePicker.platform
, pfile_picker.FilePickerPlugin
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:pfile_picker/pfile_picker.dart
that imports:package:pfile_picker/src/file_picker.dart
that imports:package:pfile_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:pfile_picker/pfile_picker.dart
that imports:package:pfile_picker/src/file_picker.dart
that imports:package:pfile_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Linux`.
Because:
package:pfile_picker/pfile_picker.dart
that imports:package:pfile_picker/src/file_picker.dart
that imports:package:pfile_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:pfile_picker/pfile_picker.dart
that imports:package:pfile_picker/src/file_picker.dart
that imports:package:pfile_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Web`.
Because:
package:pfile_picker/pfile_picker.dart
that imports:package:pfile_picker/src/web/file_picker_web.dart
that imports:package:pfile_picker/src/file_picker.dart
that imports:package:pfile_picker/src/linux/file_picker_linux.dart
that imports:package:pfile_picker/src/utils.dart
that imports:package:pfile/native/pfile_native.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:pfile_picker/pfile_picker.dart
that imports:package:pfile_picker/src/file_picker.dart
that imports:package:pfile_picker/src/linux/file_picker_linux.dart
that imports:package:pfile_picker/src/utils.dart
that imports:package:pfile/native/pfile_native.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/pfile_picker/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
WARNING: Unused import: 'package:path/path.dart'.
lib/src/utils.dart:6:8
╷
6 │ import 'package:path/path.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils.dart
WARNING: 'Completer.complete' shouldn't be called with a 'null' argument for the non-nullable type argument 'List
lib/src/web/file_picker_web.dart:94:35
╷
94 │ filesCompleter.complete(null);
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/web/file_picker_web.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
ffi |
^1.1.2 |
1.2.1 | 2.1.4 | |
flutter_plugin_android_lifecycle |
^2.0.3 |
2.0.28 | 2.0.28 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
pedantic |
^1.11.0 |
1.11.1 | 1.11.1 | Discontinued |
pfile |
^2.1.0+3 |
2.2.0 | 2.2.0 | |
plugin_platform_interface |
^2.0.1 |
2.1.8 | 2.1.8 | |
win32 |
^2.4.1 |
2.6.1 | 5.12.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
buffer |
- | 1.2.3 | 1.2.3 | |
characters |
- | 1.4.0 | 1.4.0 | |
chunked_stream |
- | 1.4.2 | 1.4.2 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dartx |
- | 0.7.1 | 1.2.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
path_provider |
- | 2.0.15 | 2.1.5 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.1 | |
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 | |
time |
- | 2.1.5 | 2.1.5 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi
to update the constraint.
The constraint `^2.4.1` on win32 does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions win32
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.