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
trueto proceed with the OS request,falseto 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.