bg method

NikuSelectableText bg(
  1. Color backgroundColor
)

Set background color of text

Equivalent to

TextStyle(backgroundColor: input)

Implementation

NikuSelectableText bg(Color backgroundColor) {
  _backgroundColor = backgroundColor;

  return this;
}