errorBackground method

NikuTextField errorBackground(
  1. Paint foreground
)
  • background - The paint drawn as a background for the text.

Equivalent to

TextStyle(background: input)

Implementation

NikuTextField errorBackground(Paint foreground) {
  this._error_foreground = foreground;

  return this;
}