PipPlayer constructor

const PipPlayer({
  1. Key? key,
  2. required PipController controller,
  3. required Widget content,
  4. String title = '',
  5. bool isPlaying = false,
  6. VoidCallback? onPlayPause,
  7. VoidCallback? onRewind,
  8. VoidCallback? onForward,
  9. VoidCallback? onFullscreen,
  10. VoidCallback? onClose,
  11. VoidCallback? onExpand,
  12. VoidCallback? onTap,
  13. Widget? customControls,
  14. VoidCallback? onReelsUp,
  15. VoidCallback? onReelsDown,
})

Creates a new PipPlayer

Implementation

const PipPlayer({
  super.key,
  required this.controller,
  required this.content,
  this.title = '',
  this.isPlaying = false,
  this.onPlayPause,
  this.onRewind,
  this.onForward,
  this.onFullscreen,
  this.onClose,
  this.onExpand,
  this.onTap,
  this.customControls,
  this.onReelsUp,
  this.onReelsDown,
});