SwitcherWidget.disabled constructor

const SwitcherWidget.disabled({
  1. Key? key,
  2. bool value = false,
  3. EdgeInsets? margin,
  4. VoidCallback? onCallBack,
  5. UISwitcherThemeData? theme,
})

Implementation

const SwitcherWidget.disabled({
  super.key,
  this.value = false,
  this.margin,
  this.onCallBack,
  super.theme,
}) : isEnabled = false,
     onChanged = null;