prefixBackground method

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

Equivalent to

TextStyle(background: input)

Implementation

NikuTextField prefixBackground(Paint foreground) {
  this._prefix_foreground = foreground;

  return this;
}