providers library

Classes

ArgumentsProvider<E, A>
BaseFactoryProvider<E, A>
BaseProvider<E, A>
BaseStateNotifierProvider<N, S>
BaseTagProvider
base class for all Providers
Creator<E, A>
Element<E>
Base class uses to represents the Element created by a provider
FactoryArgumentsElement<E, A>
FactoryArgumentsProvider<E, A>
FactoryElement<E>
FactoryProvider<E>
FilteredProvider<N, S>
ListeneableProvider<N extends StateNotifier<S>, S, A>
Provider<E>
ProvidersContainer
Ref<A>
Reference use to store arguments before create an Element and listen when an Element has been disposed
SelectFilteredProvider<N extends StateNotifier<S>, S, R>
StateNotifierArgumentsProvider<N extends StateNotifier<S>, S, A>
StateNotifierProvider<N extends StateNotifier<S>, S>
StateNotifierTagArgumentsProvider<N extends StateNotifier<S>, S, A>
StateNotifierTagProvider<N extends StateNotifier<S>, S>
TagArgumentsProvider<E, A>
TagProvider<E>
WhenFilteredProvider<N extends StateNotifier<S>, S>

Functions

createSelectListener<N extends StateNotifier<S>, S, R>(SelectFilteredProvider<N, S, R> filter) → void
create the listener for provider.select filter (StateProvider)
createWhenListener<N extends StateNotifier<S>, S>(WhenFilteredProvider<N, S> filter) → void
create the listener for provider.when filter

Typedefs

BuildWhenCallback<S> = bool Function(S prev, S current)
CreatorCallback<E, A> = E Function(Ref<A> ref)
SelectCallback<S, R> = R Function(S)