onError property

Widget Function(BuildContext context, ErrorState state) get onError

Implementation

static Widget Function(BuildContext context, ErrorState state) get onError {
  return DefaultBuilderConfig._onError ??
      (context, state) {
        return DefaultErrorWidget(message: state.message);
      };
}