onPipAction method

void onPipAction(
  1. PipAction action
)

The user taps one PIP action

Implementation

void onPipAction(PipAction action) {
  widget.onPipAction?.call(action);
}