Eventizer library

Classes

Event
Event Class defines a skeletone for basic event
EventConsumer
abstarct event consumer class because each event is unique in its own way, its handling is also unique thus this class is abstract user must extend, mixin with this class to use the power of eventizer consumer interface optionally user can also set debug tag
EventID
just a placeholder class to ease internal type checks user should extend it as per their need
EventMap
EventMap Class defines a skeletone for comples event
EventMulti
Event Class defines a skeletone for comples event
EventProducer
if a class is expected to generate event (mainly ui or async fucntion). then they must extend, mixin with this class to trigger events
EventWidget
dynamic widget that changed whenever a register event is trigger and passed by event tester
EventWrapper

Constants

emptyEventID → const EventID
eventTesterPassAll → const EventTester
global constant EventTester that passes all event

Functions

showDialogEvent({required WidgetBuilder builder, dynamic modal}) → dynamic
showToastEvent(dynamic msg, {dynamic bgColor = Colors.grey}) → dynamic

Typedefs

EventItemBuilder = Widget Function(BuildContext context, Widget? child, Event event)
typedef builder function prototype used by EventWidget
EventTester = bool Function(Event)
typedef for a function prototype used for eventTester
WidgetNotifier = dynamic Function()
typedef to facillitates a task trigger when widget is ready to take event