sealed_flutter_bloc library

An extension to the bloc state management library which integrations sealed_unions.

Get started at bloclibrary.dev 🚀

Classes

Doublet<T, U>
Factory0<Result>
Factory1<Result>
Factory2<T, U>
Factory3<T, U, V>
Factory4<A, B, C, D>
Factory5<A, B, C, D, E>
Factory6<A, B, C, D, E, F>
Factory7<A, B, C, D, E, F, G>
Factory8<A, B, C, D, E, F, G, H>
Factory9<A, B, C, D, E, F, G, H, I>
Nonet<A, B, C, D, E, F, G, H, I>
Nullet<Result>
Octet<A, B, C, D, E, F, G, H>
Quartet<A, B, C, D>
Quintet<A, B, C, D, E>
SealedBlocBuilder1<Bloc extends BlocBase<State>, State extends Union0<A>, A>
SealedBlocBuilder is a special type of BlocBuilder which ensures that every possible Bloc state has a corresponding Widget.
SealedBlocBuilder2<Bloc extends BlocBase<State>, State extends Union2<A, B>, A, B>
SealedBlocBuilder is a special type of BlocBuilder which ensures that every possible Bloc state has a corresponding Widget.
SealedBlocBuilder3<Bloc extends BlocBase<State>, State extends Union3<A, B, C>, A, B, C>
SealedBlocBuilder is a special type of BlocBuilder which ensures that every possible Bloc state has a corresponding Widget.
SealedBlocBuilder4<Bloc extends BlocBase<State>, State extends Union4<A, B, C, D>, A, B, C, D>
SealedBlocBuilder is a special type of BlocBuilder which ensures that every possible Bloc state has a corresponding Widget.
SealedBlocBuilder5<Bloc extends BlocBase<State>, State extends Union5<A, B, C, D, E>, A, B, C, D, E>
SealedBlocBuilder is a special type of BlocBuilder which ensures that every possible Bloc state has a corresponding Widget.
SealedBlocBuilder6<Bloc extends BlocBase<State>, State extends Union6<A, B, C, D, E, F>, A, B, C, D, E, F>
SealedBlocBuilder is a special type of BlocBuilder which ensures that every possible Bloc state has a corresponding Widget.
SealedBlocBuilder7<Bloc extends BlocBase<State>, State extends Union7<A, B, C, D, E, F, G>, A, B, C, D, E, F, G>
SealedBlocBuilder is a special type of BlocBuilder which ensures that every possible Bloc state has a corresponding Widget.
SealedBlocBuilder8<Bloc extends BlocBase<State>, State extends Union8<A, B, C, D, E, F, G, H>, A, B, C, D, E, F, G, H>
SealedBlocBuilder is a special type of BlocBuilder which ensures that every possible Bloc state has a corresponding Widget.
SealedBlocBuilder9<Bloc extends BlocBase<State>, State extends Union9<A, B, C, D, E, F, G, H, I>, A, B, C, D, E, F, G, H, I>
SealedBlocBuilder is a special type of BlocBuilder which ensures that every possible Bloc state has a corresponding Widget.
Septet<A, B, C, D, E, F, G>
Sextet<A, B, C, D, E, F>
Singlet<Result>
Triplet<T, U, V>
Union0<First>
Union1 represents a union containing an element of 1 possible type
Union0First<T>
Union0Impl<A>
Union1<First>
Union1First<T>
Union1Impl<A>
Union1None<T>
Union2<First, Second>
Union2First<T, U>
Union2Impl<A, B>
Union2Second<T, U>
Union3<First, Second, Third>
Union3First<T, U, V>
Union3Impl<A, B, C>
Union3Second<T, U, V>
Union3Third<T, U, V>
Union4<First, Second, Third, Fourth>
Union4First<A, B, C, D>
Union4Fourth<A, B, C, D>
Union4Impl<A, B, C, D>
Union4Second<A, B, C, D>
Union4Third<A, B, C, D>
Union5<First, Second, Third, Fourth, Fifth>
Union5Fifth<A, B, C, D, E>
Union5First<A, B, C, D, E>
Union5Fourth<A, B, C, D, E>
Union5Impl<A, B, C, D, E>
Union5Second<A, B, C, D, E>
Union5Third<A, B, C, D, E>
Union6<First, Second, Third, Fourth, Fifth, Sixth>
Union6Fifth<A, B, C, D, E, F>
Union6First<A, B, C, D, E, F>
Union6Fourth<A, B, C, D, E, F>
Union6Impl<A, B, C, D, E, F>
Union6Second<A, B, C, D, E, F>
Union6Sixth<A, B, C, D, E, F>
Union6Third<A, B, C, D, E, F>
Union7<First, Second, Third, Fourth, Fifth, Sixth, Seventh>
Union7Fifth<A, B, C, D, E, F, G>
Union7First<A, B, C, D, E, F, G>
Union7Fourth<A, B, C, D, E, F, G>
Union7Impl<A, B, C, D, E, F, G>
Union7Second<A, B, C, D, E, F, G>
Union7Seventh<A, B, C, D, E, F, G>
Union7Sixth<A, B, C, D, E, F, G>
Union7Third<A, B, C, D, E, F, G>
Union8<First, Second, Third, Fourth, Fifth, Sixth, Seventh, Eighth>
Union8Eighth<A, B, C, D, E, F, G, H>
Union8Fifth<A, B, C, D, E, F, G, H>
Union8First<A, B, C, D, E, F, G, H>
Union8Fourth<A, B, C, D, E, F, G, H>
Union8Impl<A, B, C, D, E, F, G, H>
Union8Second<A, B, C, D, E, F, G, H>
Union8Seventh<A, B, C, D, E, F, G, H>
Union8Sixth<A, B, C, D, E, F, G, H>
Union8Third<A, B, C, D, E, F, G, H>
Union9<First, Second, Third, Fourth, Fifth, Sixth, Seventh, Eighth, Ninth>
Union9Eighth<A, B, C, D, E, F, G, H, I>
Union9Fifth<A, B, C, D, E, F, G, H, I>
Union9First<A, B, C, D, E, F, G, H, I>
Union9Fourth<A, B, C, D, E, F, G, H, I>
Union9Impl<A, B, C, D, E, F, G, H, I>
Union9Ninth<A, B, C, D, E, F, G, H, I>
Union9Second<A, B, C, D, E, F, G, H, I>
Union9Seventh<A, B, C, D, E, F, G, H, I>
Union9Sixth<A, B, C, D, E, F, G, H, I>
Union9Third<A, B, C, D, E, F, G, H, I>

Typedefs

SealedBlocWidgetBuilder1<S extends Union0<A>, A> = Widget Function(BuildContext context, WidgetSealedJoin1<A> )
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
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.
SealedBlocWidgetBuilder3<S extends Union3<A, B, C>, A, B, C> = Widget Function(BuildContext context, WidgetSealedJoin3<A, B, C> )
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
SealedBlocWidgetBuilder4<S extends Union4<A, B, C, D>, A, B, C, D> = Widget Function(BuildContext context, WidgetSealedJoin4<A, B, C, D> )
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
SealedBlocWidgetBuilder5<S extends Union5<A, B, C, D, E>, A, B, C, D, E> = Widget Function(BuildContext context, WidgetSealedJoin5<A, B, C, D, E> )
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
SealedBlocWidgetBuilder6<S extends Union6<A, B, C, D, E, F>, A, B, C, D, E, F> = Widget Function(BuildContext context, WidgetSealedJoin6<A, B, C, D, E, F> )
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
SealedBlocWidgetBuilder7<S extends Union7<A, B, C, D, E, F, G>, A, B, C, D, E, F, G> = Widget Function(BuildContext context, WidgetSealedJoin7<A, B, C, D, E, F, G> )
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
SealedBlocWidgetBuilder8<S extends Union8<A, B, C, D, E, F, G, H>, A, B, C, D, E, F, G, H> = Widget Function(BuildContext context, WidgetSealedJoin8<A, B, C, D, E, F, G, H> )
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
SealedBlocWidgetBuilder9<S extends Union9<A, B, C, D, E, F, G, H, I>, A, B, C, D, E, F, G, H, I> = Widget Function(BuildContext context, WidgetSealedJoin9<A, B, C, D, E, F, G, H, I> )
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
WidgetSealedJoin1<A> = Widget Function(Widget mapFirst(A))
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
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.
WidgetSealedJoin3<A, B, C> = Widget Function(Widget mapFirst(A), Widget mapSecond(B), Widget mapThird(C))
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
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.
WidgetSealedJoin5<A, B, C, D, E> = Widget Function(Widget mapFirst(A), Widget mapSecond(B), Widget mapThird(C), Widget mapFourth(D), Widget mapFifth(E))
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
WidgetSealedJoin6<A, B, C, D, E, F> = Widget Function(Widget mapFirst(A), Widget mapSecond(B), Widget mapThird(C), Widget mapFourth(D), Widget mapFifth(E), Widget mapSixth(F))
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
WidgetSealedJoin7<A, B, C, D, E, F, G> = Widget Function(Widget mapFirst(A), Widget mapSecond(B), Widget mapThird(C), Widget mapFourth(D), Widget mapFifth(E), Widget mapSixth(F), Widget mapSeventh(G))
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
WidgetSealedJoin8<A, B, C, D, E, F, G, H> = Widget Function(Widget mapFirst(A), Widget mapSecond(B), Widget mapThird(C), Widget mapFourth(D), Widget mapFifth(E), Widget mapSixth(F), Widget mapSeventh(G), Widget mapEighth(H))
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.
WidgetSealedJoin9<A, B, C, D, E, F, G, H, I> = Widget Function(Widget mapFirst(A), Widget mapSecond(B), Widget mapThird(C), Widget mapFourth(D), Widget mapFifth(E), Widget mapSixth(F), Widget mapSeventh(G), Widget mapEighth(H), Widget mapNinth(I))
builder will be called with a BuildContext and the union of all Bloc states and must return a Widget for each possible state.