DropDownModel<T> constructor
Constructor for creating a DropDownModel instance.
key
: A required string key to uniquely identify the item.value
: A required value of generic typeT
.text
: A required string text to be displayed in the dropdown.
Implementation
DropDownModel({
required this.key,
this.value,
required this.text,
this.prefixWidget,
});