CustomDropDown constructor
const
CustomDropDown({ - Key? key,
- double? buttonHeight,
- double? buttonWidth,
- Color? topContainerColor,
- required String labelText,
- double? labelSize,
- required String hintText,
- List<DropdownMenuItem<String>>? items = const [],
- void onChanged(
- String?
)?,
- Widget? icon,
- 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
});