BetterEffectBootstrapErrorBuilder typedef

BetterEffectBootstrapErrorBuilder = Widget Function(BuildContext context, Object error, StackTrace stackTrace, VoidCallback retry)

Builds a startup error UI. Calling retry starts a fresh Runtime.

Implementation

typedef BetterEffectBootstrapErrorBuilder =
    Widget Function(
      BuildContext context,
      Object error,
      StackTrace stackTrace,
      VoidCallback retry,
    );