background method

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

Equivalent to

TextStyle(background: input)

Implementation

NikuTextField background(Paint foreground) {
  this._base_foreground = foreground;

  return this;
}