size method

VContainer size(
  1. double w,
  2. double h
)

Sets both width and height of the container.

Implementation

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