textColors method

NikuButton textColors(
  1. Color color
)

Set color of text

Equivalent to

TextStyle(color: input)

Implementation

NikuButton textColors(Color color) {
  _text_color.update(
    base: color,
    disabled: color,
    dragged: color,
    error: color,
    focused: color,
    hovered: color,
    pressed: color,
    selected: color,
  );

  return this;
}