error method

HareText error({
  1. TextStyle? style,
})

Implementation

HareText error({TextStyle? style}) {
  this.style = style ?? const TextStyle(color: Colors.red);
  return this;
}