CometChatDateTimeFormField constructor

const CometChatDateTimeFormField({
  1. Key? key,
  2. DateTime? initialDate,
  3. TextEditingController? controller,
  4. ValueChanged<DateTime?>? onChanged,
  5. DateTime? fromDate,
  6. DateTime? toDate,
  7. TimeOfDay? initialTime,
  8. required CometChatTheme theme,
  9. String? placeholder,
  10. TextStyle? textInputStyle,
  11. String? formatterString,
  12. TextStyle? placeholderStyle,
  13. DateTimeVisibilityMode mode = DateTimeVisibilityMode.dateTime,
  14. DateTime? value,
  15. DateTimeElementStyle? dateTimeElementStyle,
  16. String? cancelText,
  17. 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});