Flutter - DropdownButton using keyValuePair : <p>I am new to flutter. I am trying to create a dropdownbutton that takes a list of keyValuePairs. When a user selects an item from the list I want to get the key of the selected item. I have search through the example but didn't see any way to do this. Is there another component I should use or is there a plugin to do just that. Thanks for your help on this. </p>
