DarwinInitializationSettings constructor

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

Constructs an instance of DarwinInitializationSettings.

Implementation

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