RenderViewportBox constructor

RenderViewportBox({
  1. required Size viewportSize,
  2. RenderBox? child,
  3. Color? background,
  4. required KrakenController controller,
})

Implementation

RenderViewportBox({
  required Size viewportSize,
  RenderBox? child,
  this.background,
  required KrakenController controller,
}) : _viewportSize = viewportSize,
      super(child) {
  this.controller = controller;
}