Document constructor
Document(
- dynamic context, {
- required KrakenController controller,
- required RenderViewportBox viewport,
- GestureListener? gestureListener,
- WidgetDelegate? widgetDelegate,
Implementation
Document(context, {
required this.controller,
required RenderViewportBox viewport,
this.gestureListener,
this.widgetDelegate,
}) : _viewport = viewport,
super(NodeType.DOCUMENT_NODE, context);