file_picker_patch 1.0.0+2
file_picker_patch: ^1.0.0+2 copied to clipboard
A patch over the file_picker plugin which is a package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support.
We analyzed this package 5 days ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting file_picker_patch... Discovering libraries... Linking elements... Precaching local docs for 646605 elements... Initialized dartdoc with 799 libraries Generating docs for library file_picker.dart from package:file_picker_patch/file_picker.dart... Generating docs for library file_picker_patch.dart from package:file_picker_patch/file_picker_patch.dart... Documented 2 public libraries in 42.7 seconds ERR: warning: ambiguous reexport of platform_file.PlatformFile, canonicalization candidates: (file_picker_patch, file_picker_patch) -> file_picker_patch (confidence 0.000) from platform_file.PlatformFile: (file:///tmp/pana_AYHDOT/lib/src/platform_file.dart:4:7) file_picker_patch: 2.210 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) file_picker_patch: 2.210 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) Use {@canonicalFor platform_file.PlatformFile} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [66 more lines]
10/10 points: Package has an example
10/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:file_picker_patch/file_picker_patch.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:file_picker_patch/file_picker_patch.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:file_picker_patch/file_picker_patch.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:file_picker_patch/file_picker_patch.dartthat imports:package:file_picker_patch/src/file_picker.dartthat imports:package:file_picker_patch/src/file_picker_io.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:file_picker_patch/file_picker_patch.dartthat imports:package:file_picker_patch/src/file_picker.dartthat imports:package:file_picker_patch/src/file_picker_io.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/file_picker_patch/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: The import of 'package:file_picker_patch/src/platform_file.dart' is unnecessary because all of the used elements are also provided by the import of 'package:file_picker_patch/file_picker.dart'.
lib/src/file_picker_io.dart:5:8
╷
5 │ import 'package:file_picker_patch/src/platform_file.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/file_picker_io.dart
INFO: The import of 'file_picker_result.dart' is unnecessary because all of the used elements are also provided by the import of 'package:file_picker_patch/file_picker.dart'.
lib/src/file_picker_io.dart:9:8
╷
9 │ import 'file_picker_result.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/file_picker_io.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_plugin_android_lifecycle |
^2.0.0 |
2.0.34 | 2.0.34 | |
plugin_platform_interface |
^2.0.0 |
2.1.8 | 2.1.8 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
vector_math |
- | 2.2.0 | 2.3.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.23.12, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.