CustomDropDown constructor

const CustomDropDown({
  1. Key? key,
  2. String? title,
  3. required String hintText,
  4. required String? selectedItem,
  5. required List<String>? itemsList,
  6. required dynamic onChanged(
    1. String?
    )?,
  7. String? validator(
    1. String?
    )?,
  8. double? borderRadius,
  9. double? elevation,
  10. Color? fillColor,
  11. EdgeInsetsGeometry? padding,
  12. TextStyle? style,
})

Implementation

const CustomDropDown({
  super.key,
  this.title,
  required this.hintText,
  required this.selectedItem,
  required this.itemsList,
  required this.onChanged,
  this.validator,
  this.borderRadius,
  this.elevation,
  this.fillColor,
  this.padding,
  this.style,
});