OptimusDateInputField constructor
const
OptimusDateInputField({
- Key? key,
- ValueChanged<
DateTime?> ? onSubmitted, - required DateFormat format,
- String? label,
- String? error,
- Widget? caption,
- Widget? helperMessage,
- OptimusWidgetSize size = OptimusWidgetSize.large,
- bool isEnabled = true,
- DateTime? value,
- bool isClearAllEnabled = false,
- ValueChanged<
DateTime?> ? onChanged, - TextInputAction? textInputAction,
- bool isRequired = false,
- FocusNode? focusNode,
- 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,
});