globalConsumeAll function

Subscriber globalConsumeAll(
  1. Widget create(), {
  2. Key? key,
})

Create a consume widget that will be rebuilt whenever any watched variables changes are made.

Implementation

Subscriber globalConsumeAll(Widget Function() create, {Key? key}) {
  return Subscriber(key: key, create: create);
}