SceneWidget constructor

const SceneWidget({
  1. Key? key,
  2. required Scene scene,
  3. required Map<String, dynamic> variables,
  4. dynamic onBranchSelected(
    1. Branch
    )?,
  5. dynamic onNextScene(
    1. String
    )?,
  6. required dynamic onComplete(),
  7. int initialBehaviorIndex = 0,
  8. dynamic onBehaviorIndexChanged(
    1. int
    )?,
  9. String? baseDir,
  10. SceneController? controller,
  11. BoxDecoration? dialogBoxDecoration,
  12. TextStyle? characterNameStyle,
  13. TextStyle? dialogTextStyle,
})

Implementation

const SceneWidget({
  super.key,
  required this.scene,
  required this.variables,
  this.onBranchSelected,
  this.onNextScene,
  required this.onComplete,
  this.initialBehaviorIndex = 0,
  this.onBehaviorIndexChanged,
  this.baseDir,
  this.controller,
  this.dialogBoxDecoration,
  this.characterNameStyle,
  this.dialogTextStyle,
});