dropdownButtonKey property

Key? dropdownButtonKey
final

The key of DropdownButton2 child widget

This allows accessing DropdownButton2State. It is useful for some cases, i.e: calling callTap() method to open the menu programmatically

Implementation

final Key? dropdownButtonKey;