UpDropDown constructor

const UpDropDown({
  1. Key? key,
  2. String? value,
  3. bool readOnly = false,
  4. UpValidation? validation,
  5. required List<UpLabelValuePair> itemList,
  6. ValueChanged<String?>? onChanged,
  7. UpStyle? style,
  8. UpColorType? colorType,
  9. UpInputType? type,
  10. String? label,
  11. String? hint,
  12. List<String>? values,
  13. Widget? prefixIcon,
  14. EdgeInsets? contentPadding,
  15. ValueChanged<List<String>?>? onMultipleChanged,
  16. bool isMultipleSelect = false,
})

Implementation

const UpDropDown({
  Key? key,
  this.value,
  this.readOnly = false,
  this.validation,
  required this.itemList,
  this.onChanged,
  this.style,
  this.colorType,
  this.type,
  this.label,
  this.hint,
  this.values,
  this.prefixIcon,
  this.contentPadding,
  this.onMultipleChanged,
  this.isMultipleSelect = false,
}) : super(key: key);