PermissionUtil class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isGranted(Permission permission)
→ Future<bool>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openAppSettings()
→ Future<bool>
-
-
request({required Permission permission, String? title, String? description, String? iconPath, IconData? icon, Color? iconColor, bool useDialog = true, bool showRationaleDialog = true})
→ Future<bool>
-
-
requestMultiple({required List<Permission> permissions, bool showRationaleDialog = true})
→ Future<Map<Permission, bool>>
-
-
showPermanentlyDeniedDialog({required String title, required String description, String? settingsButtonText, String? cancelButtonText})
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited