PipStateChangedObserver constructor

const PipStateChangedObserver({
  1. required void onPipStateChanged(
    1. PipState state,
    2. String? error
    ),
})

The observer of the Picture in Picture state changed.

Implementation

const PipStateChangedObserver({
  required this.onPipStateChanged,
});