width method

SizedBox width(
  1. double width
)

Returns a new constrained widget with the given width.

Implementation

SizedBox width(double width) {
  return SizedBox(width: width, child: this);
}