SettingSwitch constructor

const SettingSwitch({
  1. Key? key,
  2. required String text,
  3. required String subText,
  4. required bool value,
  5. required void onChanged(
    1. bool
    ),
})

Implementation

const SettingSwitch({
  Key? key,
  required this.text,
  required this.subText,
  required this.value,
  required this.onChanged,
}) : super(key: key);