ErrorListener<T extends ErrorNotifierMixin> constructor

const ErrorListener<T extends ErrorNotifierMixin>({
  1. required Widget child,
  2. required void onNotify(
    1. BuildContext context,
    2. String message
    ),
  3. Key? key,
})

Implementation

const ErrorListener({
  required this.child,
  required this.onNotify,
  Key? key,
}) : super(key: key);