Callback function that can provide the error message from the child widget to the testing framework.
final String? Function()? onRequestError;