PermissionCheckShortcuts extension
Shortcuts for checking the status of a Permission.
- on
Properties
-
isDenied
→ Future<
bool> -
If the user denied this permission.
no setter
-
isGranted
→ Future<
bool> -
If the user granted this permission.
no setter
-
isLimited
→ Future<
bool> -
User has authorized this application for limited photo library access.
Only supported on iOS.(iOS14+)
no setter
-
isPermanentlyDenied
→ Future<
bool> -
Returns
true
when permissions are denied permanently.no setter -
isRestricted
→ Future<
bool> -
If the OS denied this permission. The user cannot change the status,
possibly due to active restrictions such as parental controls being in
place.
Only supported on iOS.
no setter