CutsceneOverlay constructor

const CutsceneOverlay({
  1. Key? key,
  2. required double fade,
  3. required String? subtitle,
  4. required String skipHint,
  5. required VoidCallback onSkip,
})

An overlay darkened by fade, showing subtitle when there is one and skipHint always, calling onSkip when skipped.

Implementation

const CutsceneOverlay({
  super.key,
  required this.fade,
  required this.subtitle,
  required this.skipHint,
  required this.onSkip,
});