SwitchButton constructor

const SwitchButton({
  1. Key? key,
  2. required String text,
  3. required void onChanged(
    1. bool
    )?,
  4. Color? color = FUIColors.black500,
  5. bool? remindersActive = false,
  6. Color? textColor,
})

Implementation

const SwitchButton({
  super.key,
  required this.text,
  required this.onChanged,
  this.color = FUIColors.black500,
  this.remindersActive = false,
  this.textColor,
});