OnError typedef

OnError = Widget Function(BuildContext context, Object error, StackTrace stackTrace, VoidCallback retryCall)

Builder function to create an error widget

Implementation

typedef OnError = Widget Function(
  BuildContext context,
  Object error,
  StackTrace stackTrace,
  VoidCallback retryCall,
);