ViewProvider<T> constructor
ViewProvider<T> (
- T _builder(
- WatchableRef ref
- ProviderChangedCallback<
T> ? onChanged, - String describeState(
- T state
- String? debugLabel,
- bool debugVisibleInGraph = true,
Implementation
ViewProvider(
this._builder, {
super.onChanged,
String Function(T state)? describeState,
String? debugLabel,
super.debugVisibleInGraph = true,
}) : _describeState = describeState,
super(debugLabel: debugLabel ?? 'ViewProvider<$T>');