builder property
ConsumerBuilder
builder
final
The builder that will be called when the provider is updated.
The child
parameter will be the same as child if specified, or null otherwise.
Note You can watch as many providers inside Consumer as you want to:
Consumer(
builder: (context, ref, child) {
final value = ref.watch(someProvider);
final another = ref.watch(anotherProvider);
...
},
);
See also child.
Implementation
final ConsumerBuilder builder;