counterBackground method

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

Equivalent to

TextStyle(background: input)

Implementation

NikuTextField counterBackground(Paint foreground) {
  this._counter_foreground = foreground;

  return this;
}