toolbarBackground(_:for:) | Apple Developer Documentation

Specifies the preferred shape style of the background of a bar managed by SwiftUI.