isPictureInPictureAvailable property

Future<bool> isPictureInPictureAvailable

Returns if Picture-In-Picture is available.

Picture-In-Picture is available in the following use-cases:

  • on iOS 14.2 and above. (We disabled PiP on iOS 14.0 and 14.1 due to an underlying iOS bug)
  • on tvOS 14 and above.
  • if explicitly enabled through PictureInPictureConfig.isEnabled. (default is disabled)

Implementation

Future<bool> get isPictureInPictureAvailable;