SealedBlocWidgetBuilder2<S extends Union2<A, B>, A, B> typedef

SealedBlocWidgetBuilder2<S extends Union2<A, B>, A, B> = Widget Function(BuildContext context, WidgetSealedJoin2<A, 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 SealedBlocWidgetBuilder2<S extends Union2<A, B>, A, B> = Widget
    Function(
  BuildContext context,
  WidgetSealedJoin2<A, B>,
);