PipWidget constructor

const PipWidget({
  1. Key? key,
  2. VoidCallback? onPipEntered,
  3. VoidCallback? onPipExited,
  4. dynamic onPipAction(
    1. PipAction
    )?,
  5. Widget builder(
    1. BuildContext
    )?,
  6. Widget? child,
  7. Widget pipBuilder(
    1. BuildContext
    )?,
  8. Widget? pipChild,
  9. PipActionsLayout pipLayout = PipActionsLayout.none,
})

Implementation

const PipWidget({
  super.key,
  this.onPipEntered,
  this.onPipExited,
  this.onPipAction,
  this.builder,
  this.child,
  this.pipBuilder,
  this.pipChild,
  this.pipLayout = PipActionsLayout.none,
})  : assert(child != null || builder != null),
      assert(pipChild != null || pipBuilder != null);