gt_permission 1.0.0 copy "gt_permission: ^1.0.0" to clipboard
gt_permission: ^1.0.0 copied to clipboard

A comprehensive Flutter permission handler utility with singleton pattern, platform-specific version handling, error management, and user-friendly result objects for all iOS and Android permissions.

140/ 160
pub points
143
downloads

We analyzed this package 35 hours ago, and awarded it 140 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

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/user/gt_permission was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/user/gt_permission was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/user/gt_permission/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: 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

109 out of 114 API elements (95.6 %) have documentation comments.

Some symbols that are missing documentation: advance_permission_utils, advance_permission_utils.PermissionHandlerUtil, advance_permission_utils.PermissionRequestResult.PermissionRequestResult.new, permission_dialog, permission_dialog.PermissionDialogUtils.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:gt_permission/gt_permission.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:gt_permission/gt_permission.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package not compatible with platform Web

Because:

  • package:gt_permission/gt_permission.dart that imports:
  • package:gt_permission/permission_handler/permission_dialog.dart that imports:
  • package:gt_permission/permission_handler/advance_permission_utils.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • dart:io

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:gt_permission/gt_permission.dart that imports:
  • package:gt_permission/permission_handler/permission_dialog.dart that imports:
  • package:gt_permission/permission_handler/advance_permission_utils.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:gt_permission/gt_permission.dart that imports:
  • package:gt_permission/permission_handler/permission_dialog.dart that imports:
  • package:gt_permission/permission_handler/advance_permission_utils.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

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
device_info_plus ^11.3.0 11.5.0 12.3.0
permission_handler ^11.3.1 11.4.0 12.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
device_info_plus_platform_interface - 7.0.3 7.0.3
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
permission_handler_android - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
win32_registry - 2.1.0 2.1.0

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

The constraint `^11.3.0` on device_info_plus does not support the stable version `12.0.0`.

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

The constraint `^11.3.1` on permission_handler does not support the stable version `12.0.0`.

Try running dart pub upgrade --major-versions permission_handler 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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
143
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter permission handler utility with singleton pattern, platform-specific version handling, error management, and user-friendly result objects for all iOS and Android permissions.

Repository (GitHub)
View/report issues

Topics

#permissions #permission-handler #android #ios #utilities

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, flutter, permission_handler

More

Packages that depend on gt_permission