GameContainerView constructor
const
GameContainerView({
- required Widget child,
- required bool showMute,
- required bool isMuted,
- required VoidCallback onMuteToggled,
- required VoidCallback onClose,
- required GameSafeArea safeArea,
- required void onViewportChanged(
- double width,
- double height,
- GameSafeArea safeArea
- bool isClosing = false,
- bool reducedMotion = false,
- bool ready = true,
- bool showClose = true,
- 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,
});