width method

VContainer width(
  1. double w
)

Sets the width of the container.

Implementation

VContainer width(double w) => VContainer(
  child: child,
  alignment: alignment,
  padding: padding,
  margin: margin,
  width: w,
  height: _height,
  decoration: decoration,
);