ErrorCallback typedef

ErrorCallback = void Function(BuildContext context, dynamic error)

Callback function for an error. It contains an error that has caused which may allow a view to react differently on different errors.

Implementation

typedef ErrorCallback = void Function(
  BuildContext context,
  dynamic error,
);