Document constructor

Document(
  1. dynamic context, {
  2. required KrakenController controller,
  3. required RenderViewportBox viewport,
  4. GestureListener? gestureListener,
  5. WidgetDelegate? widgetDelegate,
})

Implementation

Document(context, {
  required this.controller,
  required RenderViewportBox viewport,
  this.gestureListener,
  this.widgetDelegate,
}) : _viewport = viewport,
      super(NodeType.DOCUMENT_NODE, context);