ErrorCallback typedef

ErrorCallback = void Function(BuildContext context, Object 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, Object error);