NotificationAction constructor
const
NotificationAction({
- required String id,
- required String title,
- String? titleColor,
- String? icon,
- List<
NotificationActionInput> inputs = const <NotificationActionInput>[], - bool contextual = false,
- bool authenticationRequired = false,
- bool destructive = false,
- bool showsUserInterface = false,
- bool allowInBackground = true,
- String? payload,
Creates a notification action.
Implementation
const NotificationAction({
required this.id,
required this.title,
this.titleColor,
this.icon,
this.inputs = const <NotificationActionInput>[],
this.contextual = false,
this.authenticationRequired = false,
this.destructive = false,
this.showsUserInterface = false,
this.allowInBackground = true,
this.payload,
});