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. TTextFieldTheme? theme,
  11. VoidCallback? onTap,
  12. FocusNode? focusNode,
  13. TextEditingController? textController,
  14. DateTime? value,
  15. ValueNotifier<DateTime?>? valueNotifier,
  16. ValueChanged<DateTime?>? onValueChanged,
  17. List<String? Function(DateTime?)>? rules,
  18. Duration? validationDebounce,
  19. VoidCallback? onShow,
  20. VoidCallback? onHide,
  21. DateTime? firstDate,
  22. DateTime? lastDate,
  23. DateFormat? format,
})

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.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,
});