setErrorStyle static method
Implementation
static void setErrorStyle({Color? backgroundColor, ui.TextStyle? textStyle}) {
RenderErrorBox.backgroundColor = backgroundColor ?? kBackgroundLight;
RenderErrorBox.textStyle = textStyle ?? kErrorTextStyle;
}