TDateTimePicker constructor

const TDateTimePicker({
  1. Key? key,
  2. String? label,
  3. String? tag,
  4. String? helperText,
  5. String? placeholder,
  6. bool isRequired = false,
  7. bool disabled = false,
  8. bool autoFocus = false,
  9. bool readOnly = true,
  10. bool clearable = false,
  11. TTextFieldTheme? theme,
  12. VoidCallback? onTap,
  13. FocusNode? focusNode,
  14. TextEditingController? textController,
  15. DateTime? value,
  16. ValueNotifier<DateTime?>? valueNotifier,
  17. ValueChanged<DateTime?>? onValueChanged,
  18. List<String? Function(DateTime?)>? rules,
  19. Duration? validationDebounce,
  20. VoidCallback? onShow,
  21. VoidCallback? onHide,
  22. DateTime? firstDate,
  23. DateTime? lastDate,
  24. DateFormat? format,
})

Creates a date-time picker.

Implementation

const TDateTimePicker({
  super.key,
  this.label,
  this.tag,
  this.helperText,
  this.placeholder,
  this.isRequired = false,
  this.disabled = false,
  this.autoFocus = false,
  this.readOnly = true,
  this.clearable = false,
  this.theme,
  this.onTap,
  this.focusNode,
  this.textController,
  this.value,
  this.valueNotifier,
  this.onValueChanged,
  this.rules,
  this.validationDebounce,
  this.onShow,
  this.onHide,
  this.firstDate,
  this.lastDate,
  this.format,
});