MediaPlayer constructor
MediaPlayer({
- Key? key,
- required MediaController mediaController,
- Widget onPlatformNotSupport(
- BuildContext context
- BoxFit fit = BoxFit.cover,
- FilterQuality filterQuality = FilterQuality.low,
- Widget controls(
- VideoState videoState
- required Widget onProcces(
- 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,
});