ErrorWidgetCallback typedef

ErrorWidgetCallback = Widget Function(Object error, StackTrace? stackTrace)

The type of a function which produces an error widget.

Implementation

typedef ErrorWidgetCallback = Widget Function(
  Object error,
  StackTrace? stackTrace,
);