ViewFamilyProvider<T, P> class
Similar to ViewProvider but with a parameter. It is essentially a syntax sugar for ViewProvider<Map<P, T>>.
Constructors
-
ViewFamilyProvider(ViewFamilyBuilder<
T, P> _builder, {ProviderChangedCallback<Map< ? onChanged, String describeState(T state)?, String? debugLabel, bool debugVisibleInGraph = true})P, T> >
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< ViewProvider< T> , ViewProviderNotifier<T> , T, P, T, T> - Provide accessor for one parameter.
-
createState(
Ref ref) → FamilyNotifier< T, P, ViewProvider< T> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideWithBuilder(
ViewFamilyBuilder< T, P> builder) → ProviderOverride<FamilyNotifier< T, P, ViewProvider< , Map<T> >P, T> > - Overrides with a predefined value.
-
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