WidgetSealedJoin4<A, B, C, D> typedef

WidgetSealedJoin4<A, B, C, D> = Widget Function(Widget mapFirst(A), Widget mapSecond(B), Widget mapThird(C), Widget mapFourth(D))

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 WidgetSealedJoin4<A, B, C, D> = Widget Function(
  Widget Function(A) mapFirst,
  Widget Function(B) mapSecond,
  Widget Function(C) mapThird,
  Widget Function(D) mapFourth,
);