event_alert_widgets library

Hold the flutter components for handling alerts.

Classes

AlertBloc
Needs to be added up the Widget tree and have the stream be listened to.
AlertInfo
Data class for the alert stream.
AlertInfoDialog
The dialog shown by AlertWatcher
AlertWatcher
Automatically handles alerts from the stream of AlertBloc

Enums

AlertEvent<T>
The events related to alerts.
LoadableListState
Specific states for WithLoadableLists
LoadingStatus
Enum that determines different states of loading

Mixins

WithLoadableData
Indicates that this WithLoadingStatus represents some data
WithLoadableList
Indicates that this WithLoadingStatus represents a list
WithLoadingStatus
Way to easily add a LoadingStatus to your Bloc as well as some convenience functions for loading and saving.

Extensions

AlertEventChannel on BlocEventChannel
Adds methods for more easily throwing events.
LoadingStatusExtension on LoadingStatus
Adds convenience functions for easily determining the current status

Exceptions / Errors

LoadException
Standard Load Exception thrown on loading
SaveException
Standard Save Exception thrown on loading