PipPlayer constructor

const PipPlayer({
  1. required PipController controller,
  2. required Widget content,
  3. Key? key,
  4. Widget? controls,
  5. VoidCallback? onClose,
  6. VoidCallback? onExpand,
  7. VoidCallback? onTap,
  8. GestureTapDownCallback? onTapDown,
  9. VoidCallback? onTapCancel,
  10. VoidCallback? onLongPress,
})

Implementation

const PipPlayer({
  required this.controller,
  required this.content,
  super.key,
  this.controls,
  this.onClose,
  this.onExpand,
  this.onTap,
  this.onTapDown,
  this.onTapCancel,
  this.onLongPress,
});