handler abstract method

void handler(
  1. BuildContext context,
  2. T data
)

A function will be called selector stream emits an event

Implementation

void handler(BuildContext context, T data);