CustomVideoControls constructor

const CustomVideoControls({
  1. Key? key,
  2. BetterPlayerController? controller,
  3. Player? mediaKitPlayer,
  4. required dynamic onControlsVisibilityChanged(
    1. bool visbility
    ),
  5. required VideoControlsConfig videoControlsConfig,
  6. required GlobalKey<State<StatefulWidget>> betterPlayerGlobalKey,
})

Implementation

const CustomVideoControls({
  super.key,
  this.controller,
  this.mediaKitPlayer,
  required this.onControlsVisibilityChanged,
  required this.videoControlsConfig,
  required this.betterPlayerGlobalKey,
});