boxDecoration method

Niku boxDecoration(
  1. BoxDecoration boxDecoration
)

Apply BoxDecoration to widget

Equivalent to:

DecoratedBox(
  boxDecoration: input
)

Implementation

Niku boxDecoration(BoxDecoration boxDecoration) => Niku(
      DecoratedBox(
        child: this._widget,
        decoration: boxDecoration,
      ),
    );