MeeduVideoPlayer constructor
const
MeeduVideoPlayer({
- Key? key,
- required MeeduPlayerController controller,
- Widget header(
- BuildContext context,
- MeeduPlayerController controller,
- Responsive responsive
- Widget bottomRight(
- BuildContext context,
- MeeduPlayerController controller,
- Responsive responsive
- CustomIcons customIcons(
- Responsive responsive
- Widget customControls(
- BuildContext context,
- MeeduPlayerController controller,
- Responsive responsive
- Widget customCaptionView(
- BuildContext context,
- MeeduPlayerController controller,
- Responsive responsive,
- String text,
- Widget videoOverlay(
- BuildContext context,
- MeeduPlayerController controller,
- Responsive responsive
- double closedCaptionDistanceFromBottom = 40,
- Color backgroundColor = Colors.black,
Implementation
const MeeduVideoPlayer(
{Key? key,
required this.controller,
this.header,
this.bottomRight,
this.customIcons,
this.customControls,
this.customCaptionView,
this.videoOverlay,
this.closedCaptionDistanceFromBottom = 40,
this.backgroundColor = Colors.black})
: super(key: key);