childSwitch method
      
Widget
childSwitch({ 
    
    
- AFWidgetID? wid,
- required bool value,
- required AFOnChangedBoolDelegate onChanged,
Implementation
Widget childSwitch({
  AFWidgetID? wid,
  required bool value,
  required AFOnChangedBoolDelegate onChanged
}) {
  return Switch(
    key: keyForWID(wid),
    value: value,
    onChanged: onChanged,
    activeTrackColor: colorLighter(colorPrimary),
    activeColor: colorPrimary,
  );
}