SwitcherWidget.disabled constructor
const
SwitcherWidget.disabled({
- Key? key,
- bool value = false,
- EdgeInsets? margin,
- VoidCallback? onCallBack,
- UISwitcherThemeData? theme,
Implementation
const SwitcherWidget.disabled({
super.key,
this.value = false,
this.margin,
this.onCallBack,
super.theme,
}) : isEnabled = false,
onChanged = null;