buttonStyle

Sets the style for buttons within this view to a button style with a custom appearance and custom interaction behavior.

View ModifieriOS 13.0+macOS 10.15+tvOS 13.0+watchOS 6.0+buttonStyle(_:) in SwiftUI