SubtitleOverlay constructor

const SubtitleOverlay({
  1. Key? key,
  2. required SubtitleController controller,
  3. required Widget child,
})

child with controller's current subtitle over it: white text in a dark rounded panel 48 px above the bottom edge and 24 px in from the sides, fading from cue to cue over 300 ms.

Implementation

const SubtitleOverlay({
  super.key,
  required this.controller,
  required this.child,
});