PauseOverlay constructor

const PauseOverlay({
  1. Key? key,
  2. required GameSessionController session,
  3. bool showForSystemPause = false,
  4. VoidCallback? onResume,
  5. VoidCallback? onRestart,
  6. VoidCallback? onSettings,
  7. VoidCallback? onQuit,
  8. String? title,
  9. String? resumeLabel,
  10. String? restartLabel,
  11. String? settingsLabel,
  12. String? quitLabel,
  13. 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,
});