builders/event_bridge library

Classes

CallBridge<T>
Command<T>
This widget is used to connect two sibling components, and allow one to trigger an action in the other.

Typedefs

CommandBuilder<T> = Widget Function(BuildContext context, CallBridge<T> command)
ContextEventInvokerRegistrar<T> = EventInvokerRegistrar<T> Function(BuildContext context)
EventInvoker<T> = FutureOr<T> Function()
EventInvokerRegistrar<T> = void Function(dynamic self, EventInvoker<T> invoker)
A callback callback. Allows an external source to pass in hook, so that the internal code can provide what execution is supposed to occur when that hook is fired.