MediaPlayer constructor

MediaPlayer({
  1. Key? key,
  2. required MediaController mediaController,
  3. Widget onPlatformNotSupport(
    1. BuildContext context
    )?,
  4. BoxFit fit = BoxFit.cover,
  5. FilterQuality filterQuality = FilterQuality.low,
  6. Widget controls(
    1. VideoState videoState
    )? = AdaptiveVideoControls,
  7. required Widget onProcces(
    1. BuildContext context
    ),
})

Implementation

MediaPlayer({
  super.key,
  required this.mediaController,
  this.onPlatformNotSupport,
  this.fit = BoxFit.cover,
  this.filterQuality = FilterQuality.low,
  this.controls = AdaptiveVideoControls,
  required this.onProcces,
});