provider/filters library

Classes

FilteredProvider<N, S>
SelectFilteredProvider<N extends StateNotifier<S>, S, R>
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)
SelectCallback<S, R> = R Function(S)