foreground method

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

Equivalent to

TextStyle(foreground: input)

Implementation

NikuSelectableText foreground(Paint foreground) {
  _foreground = foreground;

  return this;
}