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,
  EdgeInsets? padding,
  EdgeInsets? margin,
  Border? border,
})  : _color = color,
      _width = width,
      _height = height,
      _padding = padding,
      _margin = margin,
      _border = border {
  _invalidateBorderDimensions();
}