size method

Niku size(
  1. double width,
  2. double height
)

Set height of Widget

Equivalent to:

SizedBox(
  height: input
)

Implementation

Niku size(double width, double height) {
  _widget = SizedBox(
    width: width,
    height: height,
    child: _widget,
  );

  return this;
}