isPermanentlyDenied property
bool
get
isPermanentlyDenied
On Android: Android 11+ (API 30+): whether the user denied the permission for a second time. Below Android 11 (API 30): whether the user denied access to the requested feature and selected to never again show a request. The user may still change the permission status in the settings.
On iOS: If the user has denied access to the requested feature. The user may still change the permission status in the settings
WARNING: This can only be determined AFTER requesting this permission.
Therefore make a request
call first.
Implementation
bool get isPermanentlyDenied => this == PermissionStatus.permanentlyDenied;