WidgetSealedJoin2<A, B> typedef

WidgetSealedJoin2<A, B> = Widget Function(Widget mapFirst(A), Widget mapSecond(B))

builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.

Implementation

typedef WidgetSealedJoin2<A, B> = Widget Function(
  Widget Function(A) mapFirst,
  Widget Function(B) mapSecond,
);