KillSwitchWrapper constructor

const KillSwitchWrapper({
  1. Key? key,
  2. required Widget child,
})

Creates a kill switch wrapper.

The child parameter is required and represents the widget to display when the kill switch is not active.

Implementation

const KillSwitchWrapper({
  super.key,
  required this.child,
});