SubtitleOverlay constructor
const
SubtitleOverlay({
- Key? key,
- required SubtitleController controller,
- 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,
});