StreamFamilyProvider<T, P> class

A StreamFamilyProvider is a special version of StreamProvider that allows you to watch a collection of Streams.

Constructors

StreamFamilyProvider(StreamFamilyBuilder<T, P> _builder, {ProviderChangedCallback<Map<P, AsyncValue<T>>>? onChanged, String describeState(AsyncValue<T> state)?, String? debugLabel, bool debugVisibleInGraph = true})

Properties

customDebugLabel String?
A custom label used by debug tools.
finalinherited
debugLabel String
A label to be used in debug messages and by the RefenaTracingPage.
no setterinherited
debugVisibleInGraph bool
Set this flag to false to hide the provider from the RefenaGraphPage. By default, all providers are visible in the graph. However, some providers add unnecessary noise.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(P param) → FamilySelectedWatchable<StreamProvider<T>, StreamProviderNotifier<T>, AsyncValue<T>, P, AsyncValue<T>, Stream<T>>
Provide accessor for one parameter.
createState(Ref ref) FamilyNotifier<AsyncValue<T>, P, StreamProvider<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideWithStreamBuilder(StreamFamilyBuilder<T, P> builder) ProviderOverride<FamilyNotifier<AsyncValue<T>, P, StreamProvider<T>>, Map<P, AsyncValue<T>>>
Overrides the stream builder.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
Subclasses should not override this method. It is used internally by RefenaContainer to map a provider to a state.
inherited