PauseOverlay constructor
const
PauseOverlay({
- Key? key,
- required GameSessionController session,
- bool showForSystemPause = false,
- VoidCallback? onResume,
- VoidCallback? onRestart,
- VoidCallback? onSettings,
- VoidCallback? onQuit,
- String? title,
- String? resumeLabel,
- String? restartLabel,
- String? settingsLabel,
- String? quitLabel,
- Color? color,
Implementation
const PauseOverlay({
super.key,
required this.session,
this.showForSystemPause = false,
this.onResume,
this.onRestart,
this.onSettings,
this.onQuit,
this.title,
this.resumeLabel,
this.restartLabel,
this.settingsLabel,
this.quitLabel,
this.color,
});