background method

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

Equivalent to

TextStyle(background: input)

Implementation

NikuSelectableText background(Paint background) {
  _background = background;

  return this;
}