modules/notifications/presentation/widgets/widgets library

Classes

NotificationsList
Displays all notifications of the user.
NotificationWidget
Renders a given notification.

Functions

inviteAcceptedMessage(BuildContext context, Notification notification) Widget
Message builder for NotificationType.inviteAccepted.
inviteActions(BuildContext context, Notification notification) FutureOr<List<(String, FutureOr<void> Function()?)>>
Actions builder for NotificationType.invite.
inviteDeclinedMessage(BuildContext context, Notification notification) Widget
Message builder for NotificationType.inviteDeclined.
inviteMessage(BuildContext context, Notification notification) Widget
Message builder for NotificationType.invite.
newUserMessage(BuildContext context, Notification notification) Widget
Message builder for NotificationType.newUser.
noActions(BuildContext context, Notification notification) FutureOr<List<(String, FutureOr<void> Function())>>
Actions builder for types that have no actions.
planLeftMessage(BuildContext context, Notification notification) Widget
Message builder for NotificationType.planLeft.
planRemovedMessage(BuildContext context, Notification notification) Widget
Message builder for NotificationType.planRemoved.