DialogueBoxWidget constructor
const
DialogueBoxWidget({
- Key? key,
- required DialogueRunner runner,
- VoidCallback? onTap,
- BoxDecoration? boxDecoration,
- TextStyle? characterNameStyle,
- TextStyle? textStyle,
- double typewriterSpeed = 40.0,
- bool showContinueIndicator = true,
- Widget portraitBuilder(
- String character
- EdgeInsets padding = const EdgeInsets.all(16),
- double height = 160,
- Widget? continueIndicator,
Implementation
const DialogueBoxWidget({
super.key,
required this.runner,
this.onTap,
this.boxDecoration,
this.characterNameStyle,
this.textStyle,
this.typewriterSpeed = 40.0,
this.showContinueIndicator = true,
this.portraitBuilder,
this.padding = const EdgeInsets.all(16),
this.height = 160,
this.continueIndicator,
});