defaultPresentList property

bool defaultPresentList
final

Configures the default setting on if the notification should be in the notification centre when notification is triggered while app is in the foreground.

Corresponds to https://developer.apple.com/documentation/usernotifications/unnotificationpresentationoptions/3564813-list

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 defaultPresentList;