The views representing the content of the toolbar.
Discussion
議論
Use this modifier to add content to the toolbar. The toolbar modifier expects a collection of toolbar items that you can provide either by supplying a collection of views with each view wrapped in a ToolbarItem, or by providing a collection of views as a ToolbarItemGroup. The example below adds views to using a toolbar item group to support text editing features:
Populates the toolbar or navigation bar with the specified items, allowing for user customization.
ツールバーまたはナビゲーションバーにこの指定された項目を投入します、ユーザカスタマイゼーションを想定しています。