desktop_file_picker 0.0.5 copy "desktop_file_picker: ^0.0.5" to clipboard
desktop_file_picker: ^0.0.5 copied to clipboard

A simple desktop file picker build entirely in dart.

95/ 160
pub points
29
downloads

We analyzed this package 5 days ago, and awarded it 95 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` does not contain reference to the current version ("0.0.5").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

1 out of 11 API elements (9.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: desktop_file_picker, desktop_file_picker.FileSelector, desktop_file_picker.FileSelector.FileSelector.new, desktop_file_picker.FileSelector.callbackCancel, desktop_file_picker.FileSelector.callbackConfirm.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:desktop_file_picker/desktop_file_picker.dart that imports:
  • package:desktop_file_picker/src/desktop_file_picker.dart that imports:
  • package:desktop_file_picker/src/application/file_manager.dart that imports:
  • package:disks_desktop/disks_desktop.dart that declares support for platforms: Windows, macOS.
Package does not support platform `iOS`.

Because:

  • package:desktop_file_picker/desktop_file_picker.dart that imports:
  • package:desktop_file_picker/src/desktop_file_picker.dart that imports:
  • package:desktop_file_picker/src/application/file_manager.dart that imports:
  • package:disks_desktop/disks_desktop.dart that declares support for platforms: Windows, macOS.
Package does not support platform `Linux`.

Because:

  • package:desktop_file_picker/desktop_file_picker.dart that imports:
  • package:desktop_file_picker/src/desktop_file_picker.dart that imports:
  • package:desktop_file_picker/src/application/file_manager.dart that imports:
  • package:disks_desktop/disks_desktop.dart that declares support for platforms: Windows, macOS.
Package does not support platform `Web`.

Because:

  • package:desktop_file_picker/desktop_file_picker.dart that imports:
  • package:desktop_file_picker/src/desktop_file_picker.dart that imports:
  • package:desktop_file_picker/src/application/file_manager.dart that imports:
  • package:disks_desktop/disks_desktop.dart that declares support for platforms: Windows, macOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 52 issues. Showing the first 2:

INFO: Missing type annotation.

lib/src/desktop_file_picker_viewmodel.dart:53:7

   ╷
53 │   get axieItemCount => _axieItemCount;
   │       ^^^^^^^^^^^^^
   ╵

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

INFO: Missing type annotation.

lib/src/desktop_file_picker_viewmodel.dart:165:3

    ╷
165 │   returnFolder() async {
    │   ^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
disks_desktop ^1.0.1 1.0.1 1.0.1
equatable ^2.0.5 2.0.8 2.0.8
get_it ^7.2.0 7.7.0 9.2.0
injectable ^2.1.0 2.6.0 2.7.1+4
injectable_generator ^2.1.3 2.10.0 2.12.0
stacked ^3.0.1 3.4.3 3.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 92.0.0 94.0.0
analyzer - 9.0.0 10.0.2
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build - 4.0.4 4.0.4
built_collection - 5.1.1 5.1.1
built_value - 8.12.3 8.12.3
characters - 1.4.0 1.4.1
code_builder - 4.11.1 4.11.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 3.1.3 3.1.5
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1
nested - 1.0.0 1.0.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
provider - 6.1.5+1 6.1.5+1
pub_semver - 2.2.0 2.2.0
recase - 4.1.0 4.1.0
source_gen - 4.2.0 4.2.0
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stacked_shared - 1.4.1 1.4.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
typed_data - 1.4.0 1.4.0
universal_io - 2.3.1 2.3.1
vector_math - 2.2.0 2.2.0
watcher - 1.2.1 1.2.1
yaml - 3.1.3 3.1.3

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

The constraint `^7.2.0` on get_it does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions get_it to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/desktop_file_picker.dart:49:7 - The named parameter 'onViewModelReady' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/presentation/components/navigation_controls/navigation_controls.dart:20:7 - The named parameter 'onViewModelReady' isn't defined.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.9, Flutter 3.38.9, Dart 3.10.8.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
95
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

A simple desktop file picker build entirely in dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

disks_desktop, equatable, flutter, get_it, injectable, injectable_generator, stacked

More

Packages that depend on desktop_file_picker