GlowSwitch constructor

const GlowSwitch({
  1. Key? key,
  2. required bool value,
  3. required ValueChanged<bool>? onChanged,
  4. Color? activeColor,
  5. DragStartBehavior? dragStartBehavior,
  6. Color? glowColor,
  7. Offset? offset,
  8. double? spreadRadius,
  9. 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);