path_provider 2.0.1
path_provider: ^2.0.1 copied to clipboard

Flutter Android iOS Linux macOS Windows

Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.

1303
likes
80 / 110
pub points
100 %
popularity

We analyzed this package on Mar 3, 2021, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 12 out of 14 API elements (85.7 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Found 8 issues. Showing the first 2:

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS
Pass static analysis
20 / 30

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

INFO: Don't import implementation files from another package.

lib/path_provider.dart:12:8

   ╷
12 │ import 'package:path_provider_platform_interface/src/method_channel_path_provider.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/path_provider.dart

Support up-to-date dependencies
10 / 20

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

  • Could not run pub outdated: pub get failed:
Because path_provider depends on integration_test from path which doesn't exist (could not find package integration_test at "../../integration_test"), version solving failed.

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

Support sound null-safety
0 / 0

0/0 points: Package and dependencies are fully migrated to null-safety, and will be awarded additional points in a planned future revision of the pub.dev points model.

Analysed with Pana 0.15.3, Flutter 2.0.0, Dart 2.12.0.

1303
likes
80
pub points
100%
popularity

Publisher

flutter.dev

Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, path_provider_linux, path_provider_macos, path_provider_platform_interface, path_provider_windows

More

Packages that depend on path_provider