file_picker_ohos 1.0.1 copy "file_picker_ohos: ^1.0.1" to clipboard
file_picker_ohos: ^1.0.1 copied to clipboard

a Flutter plugin that enables developers to easily integrate file picking functionality into their applications, allowing users to select files from their device's storage."

105/ 160
pub points
28
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

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

Detected license: MIT.

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

22 out of 34 API elements (64.7 %) have documentation comments.

Some symbols that are missing documentation: file_picker, file_picker.FilePicker.FilePicker.new, file_picker.FilePicker.platform, file_picker.FilePickerResult, file_picker.FilePickerResult.FilePickerResult.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:file_picker_ohos/file_picker_ohos.dart that declares support for platforms: .
Package does not support platform `iOS`.

Because:

  • package:file_picker_ohos/file_picker_ohos.dart that declares support for platforms: .
Package does not support platform `Windows`.

Because:

  • package:file_picker_ohos/file_picker_ohos.dart that declares support for platforms: .
Package does not support platform `Linux`.

Because:

  • package:file_picker_ohos/file_picker_ohos.dart that declares support for platforms: .
Package does not support platform `macOS`.

Because:

  • package:file_picker_ohos/file_picker_ohos.dart that declares support for platforms: .
Package does not support platform `Web`.

Because:

  • package:file_picker_ohos/file_picker_ohos.dart that declares support for platforms: .

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:file_picker_ohos/file_picker_ohos.dart that imports:
  • package:file_picker_ohos/src/file_picker.dart that imports:
  • package:file_picker_ohos/src/linux/file_picker_linux.dart that imports:
  • package:file_picker_ohos/src/utils.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.cn/web/wasm 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 4 issues. Showing the first 2:

WARNING: Unused import: 'package:win32/win32.dart'.

lib/src/windows/file_picker_windows.dart:12:8

   ╷
12 │ import 'package:win32/win32.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/windows/file_picker_windows.dart

INFO: Missing type annotation.

lib/src/windows/file_picker_windows.dart:233:3

    ╷
233 │   validateFileName(String fileName) {
    │   ^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/windows/file_picker_windows.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
cross_file ^0.3.3+4 0.3.4+2 0.3.4+2
ffi ^2.0.1 2.1.4 2.1.4
flutter_plugin_android_lifecycle ^2.0.9 2.0.31 2.0.31
image_picker ^1.0.4 1.2.0 1.2.0
path ^1.8.2 1.9.1 1.9.1
plugin_platform_interface ^2.1.4 2.1.8 2.1.8
win32 ^4.1.3 4.1.4 5.15.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+4 0.9.4+4
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+4 0.9.3+4
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+4 0.8.13+4
image_picker_for_web - 3.1.0 3.1.0
image_picker_ios - 0.8.13 0.8.13
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2 0.2.2
image_picker_platform_interface - 2.11.0 2.11.0
image_picker_windows - 0.2.2 0.2.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 2.0.0 2.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

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

The constraint `^4.1.3` on win32 does not support the stable version `5.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.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
105
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

a Flutter plugin that enables developers to easily integrate file picking functionality into their applications, allowing users to select files from their device's storage."

Repository

Documentation

API reference

License

MIT (license)

Dependencies

cross_file, ffi, flutter, flutter_plugin_android_lifecycle, flutter_web_plugins, image_picker, path, plugin_platform_interface, win32

More

Packages that depend on file_picker_ohos

Packages that implement file_picker_ohos