family<T, P> static method
ViewFamilyProvider<T, P>
family<T, P>(
- ViewFamilyBuilder<
T, P> builder, { - String describeState(
- T state
- String? debugLabel,
- bool debugVisibleInGraph = true,
A shorthand for ViewFamilyProvider.
Implementation
static ViewFamilyProvider<T, P> family<T, P>(
ViewFamilyBuilder<T, P> builder, {
String Function(T state)? describeState,
String? debugLabel,
bool debugVisibleInGraph = true,
}) {
return ViewFamilyProvider(
builder,
describeState: describeState,
debugLabel: debugLabel ?? 'ViewFamilyProvider<$T, $P>',
debugVisibleInGraph: debugVisibleInGraph,
);
}