CyberTime constructor

const CyberTime({
  1. Key? key,
  2. dynamic text,
  3. String? label,
  4. String? hint,
  5. String format = "HH:mm",
  6. IconData? icon,
  7. bool enabled = true,
  8. TextStyle? style,
  9. InputDecoration? decoration,
  10. ValueChanged? onChanged,
  11. dynamic onLeaver(
    1. dynamic
    )?,
  12. bool isShowLabel = true,
  13. Color? backgroundColor,
  14. Color? focusColor,
  15. TextStyle? labelStyle,
  16. dynamic isVisible = true,
  17. bool showSeconds = false,
  18. dynamic isCheckEmpty = false,
})

Implementation

const CyberTime({
  super.key,
  this.text,
  this.label,
  this.hint,
  this.format = "HH:mm",
  this.icon,
  this.enabled = true,
  this.style,
  this.decoration,
  this.onChanged,
  this.onLeaver,
  this.isShowLabel = true,
  this.backgroundColor,
  this.focusColor,
  this.labelStyle,
  this.isVisible = true,
  this.showSeconds = false,
  this.isCheckEmpty = false,
});