Watcher constructor

const Watcher({
  1. Key? key,
  2. Property? property,
  3. Set<Property>? properties,
  4. Signal? signal,
  5. Set<Signal>? signals,
  6. required Widget watch(
    1. BuildContext context
    ),
  7. bool when()?,
  8. VoidCallback? onActivate,
  9. VoidCallback? onDeactivate,
  10. VoidCallback? onInit,
  11. VoidCallback? onDispose,
})

Implementation

const Watcher({
  super.key,
  this.property,
  this.properties,
  this.signal,
  this.signals,
  required this.watch,
  this.when,
  this.onActivate,
  this.onDeactivate,
  this.onInit,
  this.onDispose,
});