MephistoSwitch constructor

MephistoSwitch({
  1. Key? key,
  2. required Function onClick,
  3. bool? isSelected = false,
  4. bool? isDefaultSelected = false,
  5. bool showBackgroundColor = false,
})

Implementation

MephistoSwitch({
  super.key,
  required this.onClick,
  this.isSelected = false,
  this.isDefaultSelected = false,
  this.showBackgroundColor = false,
});