SceneWidget constructor
const
SceneWidget({
- Key? key,
- required Scene scene,
- required Map<
String, dynamic> variables, - dynamic onBranchSelected()?,
- dynamic onNextScene()?,
- required dynamic onComplete(),
- int initialBehaviorIndex = 0,
- dynamic onBehaviorIndexChanged()?,
- String? baseDir,
- SceneController? controller,
- BoxDecoration? dialogBoxDecoration,
- TextStyle? characterNameStyle,
- 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,
});