S360fSwitchTile constructor

const S360fSwitchTile({
  1. required String label,
  2. Key? key,
  3. bool value = false,
  4. TextStyle? textStyle,
  5. bool disable = false,
  6. ValueChanged<bool>? onChanged,
  7. String? errorText,
  8. bool showError = false,
  9. String? tileValue,
  10. Color? color,
  11. S360fSwitchTileType tileType = S360fSwitchTileType.plain,
  12. bool hideSwitch = false,
})

Implementation

const S360fSwitchTile({
  required this.label,
  super.key,
  this.value = false,
  this.textStyle,
  this.disable = false,
  this.onChanged,
  this.errorText,
  this.showError = false,
  this.tileValue,
  this.color,
  this.tileType = S360fSwitchTileType.plain,
  this.hideSwitch = false,
});