callTap method

void callTap()

Exposes the _handleTap() to Allow opening the button programmatically using GlobalKey.

Implementation

// Note: DropdownButton2State should be public as we need typed access to it through key.
void callTap() => _handleTap();