master
showDropdown
DropdownButton.prototype.showDropdown = function () { // Act like a plain old button if no items to show if (!this.items.length) { return; }