width method

Niku width(
  1. double width
)

Set width of widget

Equivalent to:

SizedBox(
  width: input
)

Implementation

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

  return this;
}