FieldSwitch constructor

const FieldSwitch({
  1. String? label,
  2. String? hint,
  3. bool? enabled,
  4. Map<String, dynamic>? inputDecoration,
  5. String? type,
  6. dynamic initialValue,
  7. double? sequence,
  8. String? icon,
  9. int? iconSize,
  10. String? iconTooltip,
  11. String? iconTooltipPosition,
  12. String? iconColor,
  13. String? colorActive,
  14. String? colorHover,
  15. String? colorDisabled,
  16. String? colorFocus,
  17. String? colorError,
})

Implementation

const FieldSwitch({
  this.label,
  this.hint,
  this.enabled,
  this.inputDecoration,
  this.type,
  this.initialValue,
  this.sequence,
  this.icon, // 'check_box_outline_blank', 'check_box', 'indeterminate_check_box', 'radio_button_unchecked', 'radio_button_checked', 'indeterminate_radio_button'
  this.iconSize,
  this.iconTooltip,
  this.iconTooltipPosition,
  this.iconColor,
  this.colorActive,
  this.colorHover,
  this.colorDisabled,
  this.colorFocus,
  this.colorError,
});