SceneWidget constructor

const SceneWidget(
  1. Scene<Node> scene, {
  2. Key? key,
  3. Color color = const Color(0xFF000000),
  4. bool autofocus = true,
  5. bool addRepaintBoundary = true,
})

Implementation

const SceneWidget(
  this.scene, {
  super.key,
  this.color = const Color(0xFF000000),
  this.autofocus = true,
  this.addRepaintBoundary = true,
});