Editor constructor

Editor({
  1. Widget? controls,
  2. Widget? gestures,
  3. List<Widget>? overlays,
  4. ValueListenable<Matrix4>? camera,
  5. CustomPainter? painter,
})

An editor with the given chrome; layers join through add.

Implementation

Editor({
  this.controls,
  this.gestures,
  this.overlays,
  this.camera,
  CustomPainter? painter,
}) : _customPainter = painter;