EventSubscriber<T extends EventArgs> constructor
EventSubscriber<T extends EventArgs> ({
- Key? key,
- required Event<
T> event, - required _ArgsWidgetBuilder<
T> builder,
Creates an EventSubscriber that rebuilds when an Event
occurs.
Query the object that defined the Event (if appropriate) to determine details of what changed.
Implementation
EventSubscriber({Key? key, required this.event, required this.builder}) : super(key: key);