PipPlayer constructor
const
PipPlayer({
- Key? key,
- required PipController controller,
- required Widget content,
- String title = '',
- bool isPlaying = false,
- VoidCallback? onPlayPause,
- VoidCallback? onRewind,
- VoidCallback? onForward,
- VoidCallback? onFullscreen,
- VoidCallback? onClose,
- VoidCallback? onExpand,
- VoidCallback? onTap,
- Widget? customControls,
- VoidCallback? onReelsUp,
- 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,
});