GlowSwitch constructor
const
GlowSwitch({
- Key? key,
- required bool value,
- required ValueChanged<
bool> ? onChanged, - Color? activeColor,
- DragStartBehavior? dragStartBehavior,
- Color? glowColor,
- Offset? offset,
- double? spreadRadius,
- double? blurRadius,
Implementation
const GlowSwitch({
Key? key,
required this.value,
required this.onChanged,
this.activeColor,
this.dragStartBehavior,
this.glowColor,
this.offset,
this.spreadRadius,
this.blurRadius,
}) : super(key: key);