backgroundColor method

Niku backgroundColor(
  1. Color color
)

Apply background to widget

Equivalent to:

ColoredBox(
  color: input
)

Implementation

Niku backgroundColor(Color color) =>
    Niku(ColoredBox(color: color, child: this._widget));