permission_policy 3.0.0 copy "permission_policy: ^3.0.0" to clipboard
permission_policy: ^3.0.0 copied to clipboard

A flexible and powerful permission management system for Flutter applications with role-based access control, hierarchical permissions, and customizable UI components.

150/ 160
pub points
544
downloads

We analyzed this package 13 hours ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 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

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

126 out of 149 API elements (84.6 %) have documentation comments.

Some symbols that are missing documentation: permission_policy.Permission.Permission.new, permission_policy.PermissionBuilder.PermissionBuilder.new, permission_policy.PermissionGuard.PermissionGuard.new, permission_policy.PermissionResult.PermissionResult.new, permission_policy.PermissionService.PermissionService.new.

Passed check 10/10 points: Package has an example and has no issues with screenshots

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

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/src/widgets/role_selector.dart that imports:
  • package:permission_policy/src/permission_policy.dart that imports:
  • package:permission_policy/src/storage/default_permission_storage.dart that imports:
  • package:nylo_support/local_storage/local_storage.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:nylo_support/helpers/ny_logger.dart that imports:
  • package:nylo_support/helpers/backpack.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/src/widgets/role_selector.dart that imports:
  • package:permission_policy/src/permission_policy.dart that imports:
  • package:permission_policy/src/storage/default_permission_storage.dart that imports:
  • package:nylo_support/local_storage/local_storage.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:nylo_support/helpers/ny_logger.dart that imports:
  • package:nylo_support/helpers/backpack.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/src/widgets/role_selector.dart that imports:
  • package:permission_policy/src/permission_policy.dart that imports:
  • package:permission_policy/src/storage/default_permission_storage.dart that imports:
  • package:nylo_support/local_storage/local_storage.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:nylo_support/helpers/ny_logger.dart that imports:
  • package:nylo_support/helpers/backpack.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:nylo_support/networking/ny_api_service.dart that imports:
  • package:nylo_support/networking/dio_api_service.dart that imports:
  • package:nylo_support/helpers/ny_cache.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/src/widgets/role_selector.dart that imports:
  • package:permission_policy/src/permission_policy.dart that imports:
  • package:permission_policy/src/storage/default_permission_storage.dart that imports:
  • package:nylo_support/local_storage/local_storage.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:nylo_support/helpers/ny_logger.dart that imports:
  • package:nylo_support/helpers/backpack.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/src/widgets/role_selector.dart that imports:
  • package:permission_policy/src/permission_policy.dart that imports:
  • package:permission_policy/src/storage/default_permission_storage.dart that imports:
  • package:nylo_support/local_storage/local_storage.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:nylo_support/helpers/ny_logger.dart that imports:
  • package:nylo_support/helpers/backpack.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/src/widgets/role_selector.dart that imports:
  • package:permission_policy/src/permission_policy.dart that imports:
  • package:permission_policy/src/storage/default_permission_storage.dart that imports:
  • package:nylo_support/local_storage/local_storage.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:nylo_support/helpers/ny_logger.dart that imports:
  • package:nylo_support/helpers/backpack.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_windows/flutter_local_notifications_windows.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
nylo_support ^6.28.5 6.38.1 7.23.1
Transitive dependencies
Package Constraint Compatible Latest Notes
animate_do - 4.2.0 5.1.0
app_badge_plus - 1.2.10 1.2.10
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
base58check - 2.0.0 2.0.0
bech32 - 0.2.2 0.2.2
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
date_field - 6.0.3+1 6.0.3+1
dbus - 0.7.12 0.7.12
dio - 5.9.2 5.9.2
dio_web_adapter - 2.1.2 2.1.2
equatable - 2.0.8 2.0.8
error_stack - 1.10.4 2.1.2
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_dotenv - 6.0.1 6.0.1
flutter_local_notifications - 19.5.0 21.0.0
flutter_local_notifications_linux - 6.0.0 8.0.0
flutter_local_notifications_platform_interface - 9.1.0 11.0.0
flutter_local_notifications_windows - 1.0.3 3.0.0
flutter_multi_formatter - 2.13.10 2.13.10
flutter_secure_storage - 10.1.0 10.1.0
flutter_secure_storage_darwin - 0.3.0 0.3.0
flutter_secure_storage_linux - 3.0.0 3.0.0
flutter_secure_storage_platform_interface - 2.0.1 2.0.1
flutter_secure_storage_web - 2.1.1 2.1.1
flutter_secure_storage_windows - 4.1.0 4.1.0
flutter_staggered_grid_view - 0.7.0 0.7.0
flutter_styled_toast - 2.3.0 2.3.0
flutter_timezone - 5.0.2 5.0.2
get_time_ago - 2.3.2 2.3.2
glob - 2.1.3 2.1.3
hooks - 1.0.3 1.0.3
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
mask_text_input_formatter - 2.9.0 2.9.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
mime - 2.0.0 2.0.0
native_toolchain_c - 0.17.6 0.18.0
objective_c - 9.3.0 9.3.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.2 7.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pretty_dio_logger - 1.4.0 1.4.0
pub_semver - 2.2.0 2.2.0
pull_to_refresh_flutter3 - 2.0.2 2.0.2
recase - 4.1.0 4.1.0
record_use - 0.6.0 0.6.0
rxdart - 0.28.0 0.28.0
shared_preferences - 2.5.5 2.5.5
shared_preferences_android - 2.4.23 2.4.23
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
skeletonizer - 2.1.3 2.1.3
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
theme_provider - 0.6.0 0.6.0
timezone - 0.10.1 0.11.0
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.29 6.3.29
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.5 3.1.5
uuid - 4.5.3 4.5.3
validated - 2.0.0 2.0.0
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
win32 - 5.15.0 6.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 7.0.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 `^6.28.5` on nylo_support does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions nylo_support 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.12, Flutter 3.41.7, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
24
likes
150
points
544
downloads
screenshot

Documentation

API reference

Publisher

verified publishernylo.dev

Weekly Downloads

A flexible and powerful permission management system for Flutter applications with role-based access control, hierarchical permissions, and customizable UI components.

Homepage
Repository (GitHub)
View/report issues

Topics

#roles #permissions #permissions-policy

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, nylo_support

More

Packages that depend on permission_policy