FlutterKillSwitch constructor

const FlutterKillSwitch({
  1. Key? key,
  2. KillSwitchTheme? theme,
  3. String? confirmationTitle,
  4. String? confirmationMessage,
  5. String? confirmButtonText,
  6. String? cancelButtonText,
})

Creates a kill switch admin interface.

This widget should typically be used in admin or settings screens where authorized users can control the kill switch functionality.

Implementation

const FlutterKillSwitch({
  super.key,
  this.theme,
  this.confirmationTitle,
  this.confirmationMessage,
  this.confirmButtonText,
  this.cancelButtonText,
});