VContainer constructor

const VContainer({
  1. Widget? child,
  2. Alignment? alignment,
  3. EdgeInsetsGeometry? padding,
  4. EdgeInsetsGeometry? margin,
  5. double? width,
  6. double? height,
  7. BoxDecoration? decoration,
})

Creates a VContainer with optional parameters.

Implementation

const VContainer({
  this.child,
  this.alignment,
  this.padding,
  this.margin,
  double? width,
  double? height,
  this.decoration,
}) : _height = height,
     _width = width;