ClosedCaption constructor
Creates a a new closed caption, designed to be used with
VideoPlayerValue.caption
.
If text
is null, nothing will be displayed.
Implementation
const ClosedCaption({Key? key, this.text, this.textStyle}) : super(key: key);