KatDropDownTextField constructor

const KatDropDownTextField({
  1. Key? key,
  2. String? labelText,
  3. String? initialValue,
  4. String? selectedValue,
  5. String? suffixText,
  6. Function? onChanged,
  7. Function? onSelected,
  8. Function? validator,
  9. Function? onTap,
  10. int? maxLines,
  11. int? maxLength,
  12. TextEditingController? controller,
  13. TextInputType? keyboardType,
  14. List<DropdownMenuItem<String>>? items,
  15. bool autovalidate = false,
  16. bool readOnly = false,
  17. bool autoFocus = false,
  18. bool hasBorder = false,
  19. List<TextInputFormatter>? inputFormatters,
  20. TextStyle? style,
  21. 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,
});