OptimusDateInputField constructor

const OptimusDateInputField({
  1. Key? key,
  2. ValueChanged<DateTime?>? onSubmitted,
  3. required DateFormat format,
  4. String? label,
  5. String? error,
  6. Widget? caption,
  7. Widget? helperMessage,
  8. OptimusWidgetSize size = OptimusWidgetSize.large,
  9. bool isEnabled = true,
  10. DateTime? value,
  11. bool isClearAllEnabled = false,
  12. ValueChanged<DateTime?>? onChanged,
  13. TextInputAction? textInputAction,
  14. bool isRequired = false,
  15. FocusNode? focusNode,
  16. VoidCallback? onTap,
})

Implementation

const OptimusDateInputField({
  super.key,
  this.onSubmitted,
  required this.format,
  this.label,
  this.error,
  this.caption,
  this.helperMessage,
  this.size = OptimusWidgetSize.large,
  this.isEnabled = true,
  this.value,
  this.isClearAllEnabled = false,
  this.onChanged,
  this.textInputAction,
  this.isRequired = false,
  this.focusNode,
  this.onTap,
});