ErrorCallback typedef Null safety

ErrorCallback = Widget Function(BuildContext context, Object error)

Implementation

typedef ErrorCallback = Widget Function(BuildContext context, Object error);