CometChatDateTimeFormField constructor
const
CometChatDateTimeFormField({
- Key? key,
- DateTime? initialDate,
- TextEditingController? controller,
- ValueChanged<
DateTime?> ? onChanged, - DateTime? fromDate,
- DateTime? toDate,
- TimeOfDay? initialTime,
- required CometChatTheme theme,
- String? placeholder,
- TextStyle? textInputStyle,
- String? formatterString,
- TextStyle? placeholderStyle,
- DateTimeVisibilityMode mode = DateTimeVisibilityMode.dateTime,
- DateTime? value,
- DateTimeElementStyle? dateTimeElementStyle,
- String? cancelText,
- String? confirmText,
Implementation
const CometChatDateTimeFormField(
{super.key,
this.initialDate,
this.controller,
this.onChanged,
this.fromDate,
this.toDate,
this.initialTime,
required this.theme,
this.placeholder,
this.textInputStyle,
this.formatterString,
this.placeholderStyle,
this.mode = DateTimeVisibilityMode.dateTime,
this.value,
this.dateTimeElementStyle,
this.cancelText,
this.confirmText});