defaultPresentBanner property

bool defaultPresentBanner
final

Configures the default setting on if the notification should be presented as a banner when a notification is triggered while app is in the foreground.

Corresponds to https://developer.apple.com/documentation/usernotifications/unnotificationpresentationoptions/3564812-banner

Default value is true.

On iOS, this property is only applicable to iOS 14 or newer. On macOS, this property is only applicable to macOS 11 or newer.

Implementation

final bool defaultPresentBanner;