OmegaDateField constructor

OmegaDateField({
  1. Key? key,
  2. bool enabled = true,
  3. bool visible = true,
  4. String? label,
  5. double labelSize = 14,
  6. Color? labelColor = Colors.black,
  7. TextStyle? labelStyle,
  8. Color? iconColor,
  9. String? hint,
  10. dynamic onChanged(
    1. String
    )?,
  11. dynamic onSaved(
    1. String?
    )?,
  12. dynamic onTap()?,
  13. FocusNode? focusNode,
  14. String? validator(
    1. String?
    )?,
  15. bool showRequiredLabel = false,
  16. bool autofocus = false,
  17. DateTime? initialValue,
  18. dynamic onSelect(
    1. dynamic
    )?,
})

Implementation

OmegaDateField({
  Key? key,
  this.enabled = true,
  this.visible = true,
  this.label,
  this.labelSize = 14,
  this.labelColor = Colors.black,
  this.labelStyle,
  this.iconColor,
  this.hint,
  this.onChanged,
  this.onSaved,
  this.onTap,
  this.focusNode,
  this.validator,
  this.showRequiredLabel = false,
  this.autofocus = false,
  this.initialValue,
  this.onSelect,
}) : super(key: key);