isPermanentlyDenied property

Future<bool> isPermanentlyDenied

If the permission to the requested feature is permanently denied, the permission dialog will not be shown when requesting this permission. The user may still change the permission status in the settings.

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.

On iOS: If the user has denied access to the requested feature.


Future<bool> get isPermanentlyDenied async =>
    (await this).isPermanentlyDenied;