|
|
@@ -159,6 +159,7 @@ class ChewieController extends ChangeNotifier {
|
|
|
this.allowedScreenSleep = true,
|
|
|
this.isLive = false,
|
|
|
this.allowFullScreen = true,
|
|
|
+ this.allowMuting = true,
|
|
|
this.systemOverlaysAfterFullScreen = SystemUiOverlay.values,
|
|
|
this.deviceOrientationsAfterFullScreen = const [
|
|
|
DeviceOrientation.portraitUp,
|
|
|
@@ -223,6 +224,9 @@ class ChewieController extends ChangeNotifier {
|
|
|
/// Defines if the fullscreen control should be shown
|
|
|
final bool allowFullScreen;
|
|
|
|
|
|
+ /// Defines if the mute control should be shown
|
|
|
+ final bool allowMuting;
|
|
|
+
|
|
|
/// Defines the system overlays visible after exiting fullscreen
|
|
|
final List<SystemUiOverlay> systemOverlaysAfterFullScreen;
|
|
|
|