PagePilotPiP constructor

const PagePilotPiP({
  1. Key? key,
  2. required Widget mainContent,
  3. required Widget pipContent,
  4. double pipWidth = 160,
  5. double pipHeight = 90,
  6. Alignment initialAlignment = Alignment.bottomRight,
  7. bool showPiP = false,
  8. VoidCallback? onClose,
  9. VoidCallback? onExpand,
})

Implementation

const PagePilotPiP({
  super.key,
  required this.mainContent,
  required this.pipContent,
  this.pipWidth = 160,
  this.pipHeight = 90,
  this.initialAlignment = Alignment.bottomRight,
  this.showPiP = false,
  this.onClose,
  this.onExpand,
});