KatDropDownTextField constructor
const
KatDropDownTextField({
- Key? key,
- String? labelText,
- String? initialValue,
- String? selectedValue,
- String? suffixText,
- Function? onChanged,
- Function? onSelected,
- Function? validator,
- Function? onTap,
- int? maxLines,
- int? maxLength,
- TextEditingController? controller,
- TextInputType? keyboardType,
- List<
DropdownMenuItem< ? items,String> > - bool autovalidate = false,
- bool readOnly = false,
- bool autoFocus = false,
- bool hasBorder = false,
- List<
TextInputFormatter> ? inputFormatters, - TextStyle? style,
- TextAlign textAlign = TextAlign.start,
Implementation
const KatDropDownTextField({
super.key,
this.labelText,
this.initialValue,
this.selectedValue,
this.suffixText,
this.onChanged,
this.onSelected,
this.validator,
this.onTap,
this.maxLines,
this.maxLength,
this.controller,
this.keyboardType,
this.items,
this.autovalidate = false,
this.readOnly = false,
this.autoFocus = false,
this.hasBorder = false,
this.inputFormatters,
this.style,
this.textAlign = TextAlign.start,
});