getFit method

BoxFit getFit()

Get fit used in current video. If fit is null, then fit from BetterPlayerConfiguration will be used. Otherwise _overriddenFit will be used.

Implementation

BoxFit getFit() {
  return _overriddenFit ?? betterPlayerConfiguration.fit;
}