NotificationsListView constructor

const NotificationsListView({
  1. Key? key,
  2. Future<void> onMarkAsRead(
    1. String id
    )?,
  3. Future<void> onMarkAllAsRead()?,
  4. Future<bool> onDelete(
    1. String id
    )?,
  5. void onNavigate(
    1. String path
    )?,
  6. int perPage = 15,
  7. String contentClassName = defaultContentClassName,
})

Implementation

const NotificationsListView({
  super.key,
  this.onMarkAsRead,
  this.onMarkAllAsRead,
  this.onDelete,
  this.onNavigate,
  this.perPage = 15,
  this.contentClassName = defaultContentClassName,
});