CyberDate constructor

const CyberDate({
  1. Key? key,
  2. dynamic text,
  3. String? label,
  4. String? hint,
  5. String format = "dd/MM/yyyy",
  6. IconData? icon,
  7. bool enabled = true,
  8. TextStyle? style,
  9. InputDecoration? decoration,
  10. ValueChanged<DateTime>? onChanged,
  11. dynamic onLeaver(
    1. dynamic
    )?,
  12. DateTime? minDate,
  13. DateTime? maxDate,
  14. bool isShowLabel = true,
  15. Color? backgroundColor,
  16. Color? focusColor,
  17. TextStyle? labelStyle,
  18. dynamic isVisible = true,
  19. dynamic isCheckEmpty = false,
})

Implementation

const CyberDate({
  super.key,
  this.text,
  this.label,
  this.hint,
  this.format = "dd/MM/yyyy",
  this.icon,
  this.enabled = true,
  this.style,
  this.decoration,
  this.onChanged,
  this.onLeaver,
  this.minDate,
  this.maxDate,
  this.isShowLabel = true,
  this.backgroundColor,
  this.focusColor,
  this.labelStyle,
  this.isVisible = true,
  this.isCheckEmpty = false,
});