MyMiniVideoPlayer constructor
      const
      MyMiniVideoPlayer({ 
    
    
- Key? key,
- required String videoSource,
- bool isAsset = false,
- Map<String, String> ? qualitySources,
- List<double> ? speedOptions,
- Color? containerColor = Colors.black,
- double? containerCircularRadius = 12,
- List<BoxShadow> ? containerBoxShadow,
- EdgeInsetsGeometry? containerPadding = const EdgeInsets.all(0),
- EdgeInsetsGeometry? containerMargin = const EdgeInsets.all(8),
- double? containerHeight,
- double? containerWidth,
- BoxShape? containerShape,
- double? aspectRatio,
- Color? playPauseIconColor = Colors.white,
- Color? sliderActiveColor = Colors.red,
- Color? sliderInactiveColor = Colors.grey,
- Color? sliderThumbColor = Colors.red,
- TextStyle? timerTextStyle = const TextStyle(fontSize: 12, color: Colors.white),
- Duration? animationDuration = const Duration(milliseconds: 300),
- Duration autoHideDuration = const Duration(seconds: 3),
- bool showPlayPause = true,
- bool showSlider = true,
- bool showTimer = true,
- bool showFullScreenButton = true,
- bool showSettingsButton = false,
- bool isFullScreen = false,
- VideoPlayerController? externalController,
- bool disposeController = true,
Implementation
const MyMiniVideoPlayer({
  super.key,
  required this.videoSource,
  this.isAsset = false,
  this.qualitySources,
  this.speedOptions,
  // Container styling defaults:
  this.containerColor = Colors.black,
  this.containerCircularRadius = 12,
  this.containerBoxShadow,
  this.containerPadding = const EdgeInsets.all(0),
  this.containerMargin = const EdgeInsets.all(8),
  this.containerHeight,
  this.containerWidth,
  this.containerShape,
  this.aspectRatio,
  // Control styling defaults:
  this.playPauseIconColor = Colors.white,
  this.sliderActiveColor = Colors.red,
  this.sliderInactiveColor = Colors.grey,
  this.sliderThumbColor = Colors.red,
  this.timerTextStyle = const TextStyle(fontSize: 12, color: Colors.white),
  this.animationDuration = const Duration(milliseconds: 300),
  // Control behavior and visibility defaults:
  this.autoHideDuration = const Duration(seconds: 3),
  this.showPlayPause = true,
  this.showSlider = true,
  this.showTimer = true,
  this.showFullScreenButton = true,
  this.showSettingsButton = false,
  this.isFullScreen = false,
  // External controller:
  this.externalController,
  this.disposeController = true,
});