isPictureInPictureSupported method

Future<bool?> isPictureInPictureSupported()

Implementation

Future<bool?> isPictureInPictureSupported() async {
  if (_textureId == null) {
    return false;
  }
  return _videoPlayerPlatform.isPictureInPictureEnabled(_textureId);
}