DialogueBoxWidget constructor

const DialogueBoxWidget({
  1. Key? key,
  2. required DialogueRunner runner,
  3. VoidCallback? onTap,
  4. BoxDecoration? boxDecoration,
  5. TextStyle? characterNameStyle,
  6. TextStyle? textStyle,
  7. double typewriterSpeed = 40.0,
  8. bool showContinueIndicator = true,
  9. Widget portraitBuilder(
    1. String character
    )?,
  10. EdgeInsets padding = const EdgeInsets.all(16),
  11. double height = 160,
  12. 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,
});