RenderContainer constructor

RenderContainer({
  1. Color? color,
  2. int? width,
  3. int? height,
  4. EdgeInsets? padding,
  5. EdgeInsets? margin,
  6. Border? border,
})

Creates a RenderContainer with the given visual properties.

Implementation

RenderContainer({
  Color? color,
  int? width,
  int? height,
  this.padding,
  this.margin,
  this.border,
})  : _color = color,
      _width = width,
      _height = height;