TDateTimePicker constructor
const
TDateTimePicker({
- Key? key,
- String? label,
- String? tag,
- String? helperText,
- String? placeholder,
- bool isRequired = false,
- bool disabled = false,
- bool autoFocus = false,
- bool readOnly = true,
- TTextFieldTheme? theme,
- VoidCallback? onTap,
- FocusNode? focusNode,
- TextEditingController? textController,
- DateTime? value,
- ValueNotifier<
DateTime?> ? valueNotifier, - ValueChanged<
DateTime?> ? onValueChanged, - List<
String? Function(DateTime?)> ? rules, - Duration? validationDebounce,
- VoidCallback? onShow,
- VoidCallback? onHide,
- DateTime? firstDate,
- DateTime? lastDate,
- 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,
});