SeniorNotification constructor
const
SeniorNotification({
- required String body,
- required bool isRead,
- Future<
bool?> removalConfirmation()?, - VoidCallback? onRemove,
- String? removeLabel,
- SeniorNotificationListItemSeverity severity = SeniorNotificationListItemSeverity.none,
- required String title,
The information for creating a notification in the SeniorNotificationList component.
Implementation
const SeniorNotification({
required this.body,
required this.footer,
required this.isRead,
this.removalConfirmation,
this.onRemove,
this.removeLabel,
this.severity = SeniorNotificationListItemSeverity.none,
required this.title,
});