CyberDate constructor
const
CyberDate({
- Key? key,
- dynamic text,
- String? label,
- String? hint,
- String format = "dd/MM/yyyy",
- IconData? icon,
- bool enabled = true,
- TextStyle? style,
- InputDecoration? decoration,
- ValueChanged<
DateTime> ? onChanged, - dynamic onLeaver(
- dynamic
- DateTime? minDate,
- DateTime? maxDate,
- bool isShowLabel = true,
- Color? backgroundColor,
- Color? focusColor,
- TextStyle? labelStyle,
- dynamic isVisible = true,
- 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,
});