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