isPermanentlyDenied property

Future<bool> 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

Implementation

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