getAspectRatio method

double? getAspectRatio()

Get aspect ratio used in current video. If aspect ratio is null, then aspect ratio from PipFlutterPlayerConfiguration will be used. Otherwise _overriddenAspectRatio will be used.

Implementation

double? getAspectRatio() {
  return _overriddenAspectRatio ?? pipFlutterPlayerConfiguration.aspectRatio;
}