useExternalStateMonitor property
Whether to use external state monitor to detect the Picture in Picture state.
Default is false. If true, the Picture in Picture state will be detected by the external state monitor thread.
Implementation
final bool? useExternalStateMonitor;