EasyPermissionValidator constructor

EasyPermissionValidator({
  1. required BuildContext context,
  2. required String appName,
  3. Widget? customDialog,
  4. Color? appNameColor,
  5. String? cancelText,
  6. String? enableLocationMessage,
  7. String? goToSettingsText,
  8. String? permissionSettingsMessage,
})

Caution: Some permissions must be in the privacy policy

If you use any permissions from this package, you must add:

For iOS (ios/Runner/Info.plist):

CALENDAR:

CAMERA:

CONTACTS:

LOCATION:

MICROPHONE:

PHOTOS:

SENSORS:

REMINDER:

MICROPHONE:

BLUETOOTH:

MEDIA LIBRARY:

APP TRACKING TRANSPARENCY:

For ANDROID (android/app/src/main/AndroidManifest.xml):

https://developer.android.com/guide/topics/permissions/overview

Internet permissions do not affect the permission_handler plugin, but are required if your app needs access to the internet.

Implementation

EasyPermissionValidator({
  required this.context,
  required this.appName,
  this.customDialog,
  this.appNameColor,
  this.cancelText,
  this.enableLocationMessage,
  this.goToSettingsText,
  this.permissionSettingsMessage,
});