Skip to content
pubscout

easy_permission_validator

5.0.1, released 2 years ago by an unverified publisher

Handles runtime permissions for Android and iOS with customizable dialogs

$ flutter pub add easy_permission_validator
Source repository

What it does

EasyPermissionValidator wraps the permission_handler plugin to request permissions at runtime. It provides a simple API and customizable messages or dialogs for each permission request.

AI-written summary of version 5.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • When you need to request camera, location, contacts, microphone, or other device permissions
  • When you want to show a custom dialog or localized messages for permission requests

Skip it when

  • When you need platform‑specific permission handling beyond what permission_handler offers
  • When building a web or desktop‑only app that does not require runtime permissions

Strengths

  • Simple API that hides permission_handler complexity
  • Supports custom dialogs and localized messages
  • Handles both Android and iOS permissions in one place

Weaknesses

  • Relies on permission_handler, so any limitations of that plugin apply
  • No support for web or desktop platforms
  • Requires manual native permission declarations

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Add required permissions to ios/Runner/Info.plist and android/app/src/main/AndroidManifest.xml as listed in the README. No build_runner needed.

final validator = EasyPermissionValidator(context: context, appName: 'My App');
final granted = await validator.camera();
if (granted) { /* use camera */ }

Alternatives

Packages that do the same job and could replace easy_permission_validator.

Works with

Packages commonly used together with easy_permission_validator: ones it builds on, ones built on it, and its own family.