presentAlert property
Indicates if an alert should be display when the notification is triggered while app is in the foreground.
Corresponds to https://developer.apple.com/documentation/usernotifications/unnotificationpresentationoptions/1649506-alert
When this is set to null
, it will use the default setting given
to DarwinInitializationSettings.defaultPresentAlert.
On iOS, this property is only applicable to iOS 10 to 14. On macOS, this property is only applicable to macOS 10.14 to 15. On newer versions of iOS and macOS, presentList and presentBanner
Implementation
final bool? presentAlert;