DarwinInitializationSettings constructor
const
DarwinInitializationSettings({
- bool requestAlertPermission = true,
- bool requestSoundPermission = true,
- bool requestBadgePermission = true,
- bool requestCriticalPermission = false,
- bool defaultPresentAlert = true,
- bool defaultPresentSound = true,
- bool defaultPresentBadge = 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.requestCriticalPermission = false,
this.defaultPresentAlert = true,
this.defaultPresentSound = true,
this.defaultPresentBadge = true,
this.onDidReceiveLocalNotification,
this.notificationCategories = const <DarwinNotificationCategory>[],
});