file_picker_patch 1.0.0+1
file_picker_patch: ^1.0.0+1 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 3 days ago, and awarded it 125 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 628618 elements... Initialized dartdoc with 769 libraries Generating docs for library file_picker_patch.dart from package:file_picker_patch/file_picker_patch.dart... Generating docs for library file_picker.dart from package:file_picker_patch/file_picker.dart... Documented 2 public libraries in 69.7 seconds ERR: warning: ambiguous reexport of file_picker.FilePicker, canonicalization candidates: (file_picker_patch, file_picker_patch) -> file_picker_patch (confidence 0.000) from file_picker.FilePicker: (file:///tmp/pana_EGCZPR/lib/src/file_picker.dart:30:16) file_picker_patch: 1.210 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) file_picker_patch: 1.210 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) Use {@canonicalFor file_picker.FilePicker} 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 [68 more lines]
10/10 points: Package has an example
20/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.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:file_picker_patch/file_picker_patch.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:file_picker_patch/file_picker_patch.dart
that 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.dart
that imports:package:file_picker_patch/src/file_picker.dart
that imports:package:file_picker_patch/src/file_picker_io.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:file_picker_patch/file_picker_patch.dart
that imports:package:file_picker_patch/src/file_picker.dart
that imports:package:file_picker_patch/src/file_picker_io.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/file_picker_patch/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.
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.28 | 2.0.28 | |
plugin_platform_interface |
^2.0.0 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
vector_math |
- | 2.1.4 | 2.1.5 |
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.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.