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

110/ 160
pub points
11
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

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

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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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.

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

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

It does not contain ios/pfile_picker/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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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.2.0
flutter_plugin_android_lifecycle ^2.0.3 2.0.33 2.0.33
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 6.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
buffer - 1.2.3 1.2.3
characters - 1.4.1 1.4.1
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.7 3.0.7
dartx - 0.7.1 1.2.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
path_provider - 2.0.15 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.6.0
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.6 2.1.6
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.3
vector_math - 2.2.0 2.2.0
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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
12
likes
110
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

Variation of file_picker that uses an external pfile definition

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

Packages that implement pfile_picker