Future<bool> shouldOpenAppSettings(Permission permission) async { final status = await permission.status; return PermissionStatus.permanentlyDenied == status; }