IOSInitializationSettings constructor

const IOSInitializationSettings({
  1. bool requestAlertPermission = true,
  2. bool requestSoundPermission = true,
  3. bool requestBadgePermission = true,
  4. bool requestProvisionalPermission = false,
  5. bool requestCriticalPermission = false,
  6. bool requestProvidesAppNotificationSettings = false,
  7. bool requestCarPlayPermission = false,
  8. bool defaultPresentAlert = true,
  9. bool defaultPresentSound = true,
  10. bool defaultPresentBadge = true,
  11. bool defaultPresentBanner = true,
  12. bool defaultPresentList = true,
  13. List<DarwinNotificationCategory> notificationCategories = const <DarwinNotificationCategory>[],
})

Constructs an instance of IOSInitializationSettings.

Implementation

const IOSInitializationSettings({
  super.requestAlertPermission = true,
  super.requestSoundPermission = true,
  super.requestBadgePermission = true,
  super.requestProvisionalPermission = false,
  super.requestCriticalPermission = false,
  super.requestProvidesAppNotificationSettings = false,
  this.requestCarPlayPermission = false,
  super.defaultPresentAlert = true,
  super.defaultPresentSound = true,
  super.defaultPresentBadge = true,
  super.defaultPresentBanner = true,
  super.defaultPresentList = true,
  super.notificationCategories = const <DarwinNotificationCategory>[],
});