SceneWidget constructor

const SceneWidget({
  1. Key? key,
  2. required Scene scene,
  3. dynamic onBranchSelected(
    1. Branch
    )?,
  4. dynamic onNextScene(
    1. String
    )?,
  5. required dynamic onComplete(),
})

Implementation

const SceneWidget({
  super.key,
  required this.scene,
  this.onBranchSelected,
  this.onNextScene,
  required this.onComplete,
});