OverlayControls.custom constructor

OverlayControls.custom({
  1. required Widget overlay(
    1. VideoPlayerState
    )?,
  2. required PlayerTheme theme,
})

OverlayControls.custom The Full ui and other things are in you control

overlay takes Widget Function(VideoPlayerState)

Widget is Where you need to return the contorl/Ui as a Widget in this function

VideoPlayerState Is the part that provide all the funcionality

Implementation

OverlayControls.custom({
  required this.overlay,
  required this.theme,
});