SmoothSwitch constructor
- required bool value,
- required ValueChanged<
bool> onChanged, - Size? size,
- EdgeInsetsGeometry? padding,
- Color? thumbActiveColor,
- Color? thumbInactiveColor,
- Color? backgroundActiveColor,
- Color? backgroundInactiveColor,
- Key? key,
Implementation
const SmoothSwitch({
required this.value,
required this.onChanged,
this.size,
this.padding,
this.thumbActiveColor,
this.thumbInactiveColor,
this.backgroundActiveColor,
this.backgroundInactiveColor,
super.key,
});