QudsProviderWatcher<P extends QudsProvider> constructor

const QudsProviderWatcher<P extends QudsProvider>({
  1. Key? key,
  2. required Widget builder(
    1. P? provider
    ),
  3. bool listen = true,
})

builder: the builder function of the body of the watcher, listen: if set to true, this widget will be rebuild if any change reported at the related provider. otherwise, it will be built for once.

Implementation

const QudsProviderWatcher(
    {Key? key, required this.builder, this.listen = true})
    : super(key: key);