CustomDropDown constructor

const CustomDropDown({
  1. Key? key,
  2. double? buttonHeight,
  3. double? buttonWidth,
  4. Color? topContainerColor,
  5. required String labelText,
  6. double? labelSize,
  7. required String hintText,
  8. List<DropdownMenuItem<String>>? items = const [],
  9. void onChanged(
    1. String?
    )?,
  10. Widget? icon,
  11. String? value,
})

Implementation

const CustomDropDown({
  super.key,
  this.buttonHeight,
  this.buttonWidth,
  this.topContainerColor,
  required this.labelText,
  this.labelSize,
  required this.hintText,
  this.items = const [],
  this.onChanged,
  this.icon,
  this.value
});