DNDropdownButton<T> constructor
const
DNDropdownButton<T> ({
- Key? key,
- Icon? icon,
- TextStyle? textStyle,
- T? value,
- List<
DropdownMenuItem< ? items,T> > - EdgeInsets? contentPadding,
- BoxDecoration? decoration,
- BorderRadius? borderRadius,
- Color? backgroundColor,
- bool disabled = false,
- void onChanged(
- T?
Implementation
const DNDropdownButton({
super.key,
this.icon,
this.textStyle,
this.value,
this.items,
this.contentPadding,
this.decoration,
this.borderRadius,
this.backgroundColor,
this.disabled = false,
this.onChanged,
});