DarwinInitializationSettings constructor
const
DarwinInitializationSettings({
- bool requestAlertPermission = true,
- bool requestSoundPermission = true,
- bool requestBadgePermission = true,
- bool requestProvisionalPermission = false,
- bool requestCriticalPermission = false,
- bool defaultPresentAlert = true,
- bool defaultPresentSound = true,
- bool defaultPresentBadge = true,
- bool defaultPresentBanner = true,
- bool defaultPresentList = true,
- DidReceiveLocalNotificationCallback? onDidReceiveLocalNotification,
- 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>[],
});