CustomDropdownButton constructor

const CustomDropdownButton({
  1. required String? value,
  2. List<DropdownMenuItem<String>>? items,
  3. required void onChanged(
    1. String newValue
    ),
  4. String? label,
  5. bool? disabled = false,
  6. Key? key,
  7. bool? isMandatory = false,
  8. Function? addButtonCallback,
  9. Function? openPanel,
  10. Widget? panelChild,
})

Implementation

const CustomDropdownButton({
  required this.value,
  this.items,
  required this.onChanged,
  this.label,
  this.disabled = false,
  super.key,
  this.isMandatory = false,
  this.addButtonCallback,
  this.openPanel,
  this.panelChild,
});