directory_picker 1.0.0

Flutter Android iOS

A flutter package to pick directories and handles requesting required permissions as well.

2
likes
80 / 110
pub points
78 %
popularity

We analyzed this package on Sep 25, 2020, 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

  • 4 out of 17 API elements (23.5 %) have documentation comments.
Support multiple platforms
10 / 20

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

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:directory_picker/directory_picker.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:directory_picker/directory_picker.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform Linux

Because:

  • package:directory_picker/directory_picker.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform macOS

Because:

  • package:directory_picker/directory_picker.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

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

Found 3 issues. Showing the first 2:

INFO: 'subtitle' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is subtitle2. This feature was deprecated after v1.13.8..

lib/directory_list.dart:86:67

   ╷
86 │                 Text('Selected directory', style: theme.textTheme.subtitle),
   │                                                                   ^^^^^^^^
   ╵

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

INFO: 'inheritFromWidgetOfExactType' is deprecated and shouldn't be used. Use dependOnInheritedWidgetOfExactType instead. This feature was deprecated after v1.12.1..

lib/directory_picker.dart:69:20

   ╷
69 │     return context.inheritFromWidgetOfExactType(DirectoryPickerData);
   │                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
path^1.6.21.7.01.7.0
permission_handler^3.2.23.3.05.0.1+1
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.0.01.0.0
collection-1.14.131.14.13
meta-1.1.81.2.3
sky_engine-0.0.990.0.99
typed_data-1.2.01.2.0
vector_math-2.0.82.0.8

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

The constraint `^3.2.2` on permission_handler does not support the latest published version `5.0.1+1`

pubspec.yaml:14:23

   ╷
14 │   permission_handler: ^3.2.2
   │                       ^^^^^^
   ╵

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

2
likes
80
pub points
78%
popularity

A flutter package to pick directories and handles requesting required permissions as well.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

sundeep.sundeep11@gmail.com

License

MIT (LICENSE.md)

Dependencies

flutter, path, permission_handler

More

Packages that depend on directory_picker