NotifierXObs<T extends NotifierXListener> constructor

const NotifierXObs<T extends NotifierXListener>({
  1. required Widget build(
    1. BuildContext context,
    2. T notifier
    ),
  2. Widget loading(
    1. BuildContext context,
    2. T notifier
    )?,
  3. Widget error(
    1. BuildContext context,
    2. T notifier
    )?,
  4. Key? key,
})

Implementation

const NotifierXObs({
  required this.build,
  this.loading,
  this.error,
  super.key
});