PermissionStatus enum

Permission status enumeration for comprehensive permission tracking.

Inheritance
Available extensions

Values

granted → const PermissionStatus

Permission is fully granted.

denied → const PermissionStatus

Permission is denied but can be requested again.

permanentlyDenied → const PermissionStatus

Permission is permanently denied, user must enable in settings.

partiallyGranted → const PermissionStatus

Some permissions granted, others not (partial functionality).

unknown → const PermissionStatus

Permission status is unknown or could not be determined.

Properties

canShowNotifications bool

Available on PermissionStatus, provided by the PermissionStatusExtension extension

Whether the status allows showing notifications.
no setter
description String

Available on PermissionStatus, provided by the PermissionStatusExtension extension

Gets a user-friendly description of the permission status.
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
requiresSettingsNavigation bool

Available on PermissionStatus, provided by the PermissionStatusExtension extension

Whether the user needs to go to settings to enable permissions.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldPromptUser bool

Available on PermissionStatus, provided by the PermissionStatusExtension extension

Whether the user should be prompted to enable permissions.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PermissionStatus>
A constant List of the values in this enum, in order of their declaration.