core/permissions/permission_manager library

Typedefs

PermissionExplanationCallback = Future<bool> Function(PermissionType permission)
A caller-supplied replacement for the built-in explanation dialog shown before a single PermissionType is requested. Return true to proceed with the OS request, false to treat it as a decline without ever prompting the OS.
PermissionGroupExplanationCallback = Future<bool> Function(PermissionGroup group)
Same as PermissionExplanationCallback, but for a whole PermissionGroup requested together.