ButtonMenuStyle

A menu style that displays a button that toggles the display of the menu's contents when pressed.

StructureiOS 16.0+macOS 13.0+tvOS 17.0+ButtonMenuStyle in SwiftUI