MeeduVideoPlayer constructor

const MeeduVideoPlayer({
  1. Key? key,
  2. required MeeduPlayerController controller,
  3. Widget header(
    1. BuildContext context,
    2. MeeduPlayerController controller,
    3. Responsive responsive
    )?,
  4. Widget bottomRight(
    1. BuildContext context,
    2. MeeduPlayerController controller,
    3. Responsive responsive
    )?,
  5. CustomIcons customIcons(
    1. Responsive responsive
    )?,
  6. Widget customControls(
    1. BuildContext context,
    2. MeeduPlayerController controller,
    3. Responsive responsive
    )?,
  7. Widget customCaptionView(
    1. BuildContext context,
    2. MeeduPlayerController controller,
    3. Responsive responsive,
    4. String text,
    )?,
  8. Widget videoOverlay(
    1. BuildContext context,
    2. MeeduPlayerController controller,
    3. Responsive responsive
    )?,
  9. double closedCaptionDistanceFromBottom = 40,
  10. 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);