SeniorNotificationList constructor
const
SeniorNotificationList({
- Key? key,
- String? actionButtonLabel,
- bool busyActionButton = false,
- bool disabledActionButton = false,
- bool isLoading = false,
- String? loadButtonLabel,
- required List<
SeniorNotification> notifications, - dynamic onLoad()?,
- dynamic onNotificationTap()?,
- dynamic onTapActionButton()?,
- ScrollController? scrollController,
- SeniorNotificationListStyle? style,
- required String title,
Creates a component to display a list of notifications.
The notifications and title parameters are required.
Implementation
const SeniorNotificationList({
Key? key,
this.actionButtonLabel,
this.busyActionButton = false,
this.disabledActionButton = false,
this.isLoading = false,
this.loadButtonLabel,
required this.notifications,
this.onLoad,
this.onNotificationTap,
this.onTapActionButton,
this.scrollController,
this.style,
required this.title,
}) : super(key: key);