color method

NikuFlatButton color(
  1. Color color
)

Apply color to button background

Equivalent to

FlatButton(
  color: input
)

Implementation

NikuFlatButton color(Color color) {
  this._color = color;

  return this;
}