modules/common_utils/presentation/presentation
library
Classes
-
ActorDependantBlocEventListener<B extends ActorDependantBloc<Event, dynamic>, Event extends ActorDependantEvent>
-
This Helper Widget helps you subscribe to the stream of
Event
s of a ActorDependantBloc which
is also provided in this package
It automatically subscribes and disposes of when this widget is no longer present in the tree
-
BlocEventListener<B extends ListenableBloc<Event, dynamic>, Event>
-
This Helper Widget helps you subscribe to the stream of
Event
s of a ListenableBloc which
is also provided in this package
It automatically subscribes and disposes of when this widget is no longer present in the tree
-
EnvironmentProvider<T>
-
-
LoadedDataBuilder<T>
-
-
MappedBlocBuilder<B extends StateStreamable<S>, S, T>
-
MappedBlocBuilder is a wrapper around
BlocBuilder
that allows
mapping the BLoC state S
to a new type T
before passing it to the builder.
-
RepoServiceBlocBuilder<B extends RepoServiceBloc<GroupEvent>, GroupEvent extends Enum>
-
RepoServiceBlocBuilder Helper Widget lets you build your UI based on state changes of a RepoServiceBloc
Take into account that you may not have all the
GroupEvent
states persisted in the RepoServiceBlocState state
if the bloc parameter is omitted, BlocBuilder
will automatically perform a lookup using BlocProvider
and the current BuildContext.
-
RepoServiceBlocListener<B extends RepoServiceBloc<GroupEvent>, GroupEvent extends Enum>
-
RepoServiceBlocListener This Helper Widget helps you subscribing to the stream of RepoServiceBlocEvents of a RepoServiceBloc which
is also provided in this package
It automatically subscribes and disposes when this widget is no longer present in the tree
This widget composes over BlocEventListener widget
It also provides you with the ability of filtering just the events that are dispatched for a specific
GroupEvent
-
RepoServiceGroupBlocBuilder<B extends RepoServiceBloc<GroupEvent>, GroupEvent extends Enum, T>
-
RepoServiceGroupBlocBuilder Helper Widget lets you build your UI based on state changes of a RepoServiceBloc<GroupEvent>
This widget is similar to RepoServiceBlocBuilder but it only provides you access to a slice of the RepoServiceBlocState
if the bloc parameter is omitted,
BlocBuilder
will automatically perform a lookup using BlocProvider
and the current BuildContext.