From ea7a97f77109c505b7ba5b1d559e46c37551250f Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 14 Feb 2021 18:18:14 +0900 Subject: [PATCH] Add fullScreenAspectRatio to copyWidth function (#299) * Add fullScreenAspectRatio to copyWidth function Looks like fullScreenAspectRatio is unused in this function IIUC the intention is to copy it. This feature does not seem to work when I tested on device. This could possibly be the issue. * Update better_player_configuration.dart Fix formatting --- lib/src/configuration/better_player_configuration.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/configuration/better_player_configuration.dart b/lib/src/configuration/better_player_configuration.dart index fbf800f48..dceb85ccd 100644 --- a/lib/src/configuration/better_player_configuration.dart +++ b/lib/src/configuration/better_player_configuration.dart @@ -184,6 +184,8 @@ class BetterPlayerConfiguration { overlay: overlay ?? this.overlay, errorBuilder: errorBuilder ?? this.errorBuilder, allowedScreenSleep: allowedScreenSleep ?? this.allowedScreenSleep, + fullScreenAspectRatio: + fullScreenAspectRatio ?? this.fullScreenAspectRatio, deviceOrientationsOnFullScreen: deviceOrientationsOnFullScreen ?? this.deviceOrientationsOnFullScreen, systemOverlaysAfterFullScreen: