BlocWidgetSelector<S, T> typedef

BlocWidgetSelector<S, T> = T Function(S state)

Signature for the selector function which is responsible for returning a selected value, T, based on state.

Implementation

typedef BlocWidgetSelector<S, T> = T Function(S state);