SeniorNotificationList constructor

const SeniorNotificationList({
  1. Key? key,
  2. String? actionButtonLabel,
  3. bool busyActionButton = false,
  4. bool disabledActionButton = false,
  5. bool isLoading = false,
  6. String? loadButtonLabel,
  7. required List<SeniorNotification> notifications,
  8. dynamic onLoad()?,
  9. dynamic onNotificationTap(
    1. int
    )?,
  10. dynamic onTapActionButton()?,
  11. ScrollController? scrollController,
  12. SeniorNotificationListStyle? style,
  13. 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);