file_picker_patch 1.0.0+2 copy "file_picker_patch: ^1.0.0+2" to clipboard
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.

7
likes
105/ 140
pub points
49%
popularity

We analyzed this package 4 days ago, and awarded it 105 pub points (of a possible 140):

failed
Follow Dart file conventions
15 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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 592279 elements... Initialized dartdoc with 726 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 58.5 seconds ERR: warning: ambiguous reexport of file_picker.FileType, canonicalization candidates: (file_picker_patch, file_picker_patch) -> file_picker_patch (confidence 0.000) from file_picker.FileType: (file:///tmp/pana_LCAPWU/lib/src/file_picker.dart:9:6) 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.FileType} 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 [51 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_plugin_android_lifecycle ^2.0.0 2.0.19 2.0.19
flutter_web_plugins flutter 0.0.0 0.0.0
plugin_platform_interface ^2.0.0 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

Analyzed with Pana 0.22.2, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

7
likes
105
pub points
49%
popularity

Publisher

unverified uploader

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_plugin_android_lifecycle, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on file_picker_patch