registerHandler method

void Function(BuildContext p1) registerHandler(
  1. HandlerName name,
  2. void f(
    1. BuildContext
    )
)

Implementation

void Function(BuildContext p1) registerHandler(
  HandlerName name,
  void Function(BuildContext) f,
) => _handlers[name] = f;