TDateTimePicker constructor

const TDateTimePicker({
  1. Key? key,
  2. DateTime? firstDate,
  3. DateTime? lastDate,
  4. String? label,
  5. String? tag,
  6. String? placeholder,
  7. String? helperText,
  8. String? message,
  9. bool isRequired = false,
  10. bool disabled = false,
  11. TInputSize? size,
  12. Color? color,
  13. BoxDecoration? boxDecoration,
  14. Widget? preWidget,
  15. Widget? postWidget,
  16. List<String? Function(DateTime?)>? rules,
  17. List<String>? errors,
  18. Duration? validationDebounce,
  19. bool? skipValidation,
  20. DateTime? value,
  21. ValueNotifier<DateTime>? valueNotifier,
  22. ValueChanged<DateTime>? onValueChanged,
  23. FocusNode? focusNode,
  24. DateFormat? format,
  25. VoidCallback? onShow,
  26. VoidCallback? onHide,
  27. VoidCallback? onTap,
})

Implementation

const TDateTimePicker({
  super.key,
  this.firstDate,
  this.lastDate,
  this.label,
  this.tag,
  this.placeholder,
  this.helperText,
  this.message,
  this.isRequired = false,
  this.disabled = false,
  this.size,
  this.color,
  this.boxDecoration,
  this.preWidget,
  this.postWidget,
  this.rules,
  this.errors,
  this.validationDebounce,
  this.skipValidation,
  this.value,
  this.valueNotifier,
  this.onValueChanged,
  this.focusNode,
  this.format,
  this.onShow,
  this.onHide,
  this.onTap,
});