pfile_picker 4.5.1+3 copy "pfile_picker: ^4.5.1+3" to clipboard
pfile_picker: ^4.5.1+3 copied to clipboard

Variation of file_picker that uses an external pfile definition

12
likes
100/ 140
pub points
70%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

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.

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.

Repository has no matching pubspec.yaml with name: pfile_picker.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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.platform, pfile_picker.FilePickerPlugin, pfile_picker.FilePickerPlugin.FilePickerPlugin.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.
failed
Pass static analysis
30 / 50trigger folding of the section

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

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

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

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

Package Constraint Compatible Latest
ffi ^1.1.2 1.2.1 2.1.2
flutter flutter 0.0.0 0.0.0
flutter_plugin_android_lifecycle ^2.0.3 2.0.17 2.0.17
flutter_web_plugins flutter 0.0.0 0.0.0
path ^1.8.0 1.9.0 1.9.0
pedantic ^1.11.0 1.11.1 1.11.1
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.3.0
Transitive dependencies
Package Constraint Compatible Latest
buffer - 1.2.3 1.2.3
characters - 1.3.0 1.3.0
chunked_stream - 1.4.2 1.4.2
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
dartx - 0.7.1 1.2.0
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
path_provider - 2.0.15 2.1.2
path_provider_android - 2.2.2 2.2.2
path_provider_foundation - 2.3.2 2.3.2
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.2.1
platform - 3.1.4 3.1.4
sky_engine - 0.0.99 0.0.99
time - 2.1.4 2.1.4
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.3.3
vector_math - 2.1.4 2.1.4
xdg_directories - 1.0.4 1.0.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.

12
likes
100
pub points
70%
popularity

Publisher

unverified uploader

Variation of file_picker that uses an external pfile definition

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

ffi, flutter, flutter_plugin_android_lifecycle, flutter_web_plugins, path, pedantic, pfile, plugin_platform_interface, win32

More

Packages that depend on pfile_picker