GameContainerView constructor

const GameContainerView({
  1. required Widget child,
  2. required bool showMute,
  3. required bool isMuted,
  4. required VoidCallback onMuteToggled,
  5. required VoidCallback onClose,
  6. required GameSafeArea safeArea,
  7. required void onViewportChanged(
    1. double width,
    2. double height,
    3. GameSafeArea safeArea
    ),
  8. bool isClosing = false,
  9. bool reducedMotion = false,
  10. bool ready = true,
  11. bool showClose = true,
  12. Key? key,
})

Implementation

const GameContainerView({
  required this.child,
  required this.showMute,
  required this.isMuted,
  required this.onMuteToggled,
  required this.onClose,
  required this.safeArea,
  required this.onViewportChanged,
  this.isClosing = false,
  this.reducedMotion = false,
  this.ready = true,
  this.showClose = true,
  super.key,
});