GTFSwitch constructor
const
GTFSwitch({})
Implementation
const GTFSwitch({
Key? key,
this.onChanged,
this.isOn = false,
this.isEnable = true,
this.width = 32,
this.height = 20,
this.margin = EdgeInsets.zero,
this.activeColor,
this.trackColor = GTFColor.grey2,
this.thumbColor = GTFColor.white,
}) : super(key: key);