permission_handler library

Classes

Permission
Defines the permissions which can be checked and requested.
PermissionWithService
A special kind of permission, used to access a service.

Enums

PermissionStatus
Defines the state of a Permission.
ServiceStatus
Defines the different states a service can be in.

Extensions

FuturePermissionStatusGetters
Utility getter extensions for the Future<PermissionStatus> type.
FutureServiceStatusGetters
Utility getter extensions for the Future<ServiceStatus> type.
PermissionActions
Actions that can be executed on a permission.
PermissionCheckShortcuts
Shortcuts for checking the status of a Permission.
PermissionListActions
Actions that can be taken on a List of Permissions.
PermissionStatusGetters
Utility getter extensions for the PermissionStatus type.
ServicePermissionActions
Actions that apply only to permissions that have an associated service.
ServiceStatusGetters
Utility getter extensions for the ServiceStatus type.

Functions

openAppSettings() Future<bool>
Opens the app settings page.