ViewStateErrorBuilder typedef

ViewStateErrorBuilder = Widget? Function(BuildContext context, ViewState state, VoidCallback retry)

Builds a custom error view for state. Return null to use the default.

Implementation

typedef ViewStateErrorBuilder = Widget? Function(
  BuildContext context,
  ViewState state,
  VoidCallback retry,
);