PermissionRequestConfig constructor

const PermissionRequestConfig({
  1. bool requestCriticalAlerts = false,
  2. bool requestExactAlarms = true,
  3. bool showRationale = true,
  4. bool autoRetry = false,
  5. int maxRetries = 2,
  6. PermissionFailureCallback? onPermissionFailure,
  7. bool autoOfferSettings = false,
  8. bool settingsNavigationEnabled = true,
  9. int retryDelayMs = 1000,
})

Creates a permission request configuration.

Implementation

const PermissionRequestConfig({
  this.requestCriticalAlerts = false,
  this.requestExactAlarms = true,
  this.showRationale = true,
  this.autoRetry = false,
  this.maxRetries = 2,
  this.onPermissionFailure,
  this.autoOfferSettings = false,
  this.settingsNavigationEnabled = true,
  this.retryDelayMs = 1000,
});