S360FDateInput constructor

const S360FDateInput({
  1. Key? key,
  2. String? label,
  3. String? hint,
  4. DateTime? value,
  5. bool disabled = false,
  6. bool readOnly = false,
  7. bool? isRequired = false,
  8. bool isError = false,
  9. String errorMessage = '',
  10. ValueChanged<DateTime?>? onChanged,
  11. String? validator(
    1. String?
    )?,
  12. DateFormat? dateFormat,
  13. String displayFormat = 'yyyy-MM-dd',
  14. InputDecoration? decoration,
  15. double maxTextFieldHeight = 46.0,
  16. Color? backgroundColor,
  17. String? firstDate,
  18. String? lastDate,
  19. String? defaultDate,
  20. String? tooltipMessage,
  21. Widget? tooltipIcon,
  22. Color? tooltipIconColor,
  23. bool isStartOfTheDay = true,
})

Implementation

const S360FDateInput({
  super.key,
  this.label,
  this.hint,
  this.value,
  this.disabled = false,
  this.readOnly = false,
  this.isRequired = false,
  this.isError = false,
  this.errorMessage = '',
  this.onChanged,
  this.validator,
  this.dateFormat,
  this.displayFormat = 'yyyy-MM-dd',
  this.decoration,
  this.maxTextFieldHeight = 46.0,
  this.backgroundColor,
  this.firstDate,
  this.lastDate,
  this.defaultDate,
  this.tooltipMessage,
  this.tooltipIcon,
  this.tooltipIconColor,
  this.isStartOfTheDay = true,
});