init(placement:content:)
Creates a toolbar item group with a specified placement and content.
Declaration
init(placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content)Discussion
placement: Which section of the toolbar all of its vended
ToolbarItems should be placed in.content: The content of the group. Each view specified in the
ViewBuilderwill be given its ownToolbarItemin the toolbar.