CustomTimeField constructor
const
CustomTimeField({
- Key? key,
- String? label,
- TextStyle? labelStyle,
- String? hint,
- TimeOfDay? selectedTime,
- String? errorMsg,
- Color? errorColor,
- void onChanged(
- TimeOfDay selectedTime
- Color? borderColor,
- Color? focusedBorderColor,
- Color? textColor,
- Color? hintColor,
- Color? iconColor,
- bool isDisabled = false,
- bool isOptionalMark = false,
- Color? disabledBorderColor,
- Color? disabledTextColor,
- Color? disabledBackgroundColor,
- Widget? prefixIcon,
- bool use24HourFormat = false,
- TimePickerEntryMode initialEntryMode = TimePickerEntryMode.dial,
Implementation
const CustomTimeField({
Key? key,
this.label,
this.labelStyle,
this.hint,
this.selectedTime,
this.errorMsg,
this.errorColor,
this.onChanged,
this.borderColor,
this.focusedBorderColor,
this.textColor,
this.hintColor,
this.iconColor,
this.isDisabled = false,
this.isOptionalMark = false,
this.disabledBorderColor,
this.disabledTextColor,
this.disabledBackgroundColor,
this.prefixIcon,
this.use24HourFormat = false,
this.initialEntryMode = TimePickerEntryMode.dial,
}) : super(key: key);