SceneWidget constructor

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

Implementation

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