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