FxSwitch constructor
const
FxSwitch({})
Constructs an FxSwitch.
Implementation
const FxSwitch({
required this.value,
required this.onChanged,
super.key,
this.size = 24.0,
this.activeColor,
this.inactiveColor,
this.thumbColor,
this.borderColor,
this.isDisabled = false,
this.duration = const Duration(milliseconds: 200),
this.curve = Curves.easeInOut,
});