FXSwitch constructor
const
FXSwitch({})
Implementation
const FXSwitch({
Key? key,
this.onOffMode = true,
this.onOffCondition = true,
this.onColor,
this.offColor,
this.onText = 'เปิด',
this.offText = 'ปิด',
required this.onSelected,
required this.offSelected,
this.onTap,
}) : super(key: key);