You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be grossly misunderstanding the paradigm, but the only widget that takes a toolbar seems to be the MacosScaffold widget.
According to the demo in macosui.dev: "A toolbar provides convenient access to frequently used commands and controls that perform actions relevant to the current view."
Considering the MacosScaffold widget is placed at the top of my widget tree, how can I update the items in the toolbar based on the contents of the ContentArea?
Please feel free to set me straight if there's a fundamental misunderstanding of the concept. Any help is appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I might be grossly misunderstanding the paradigm, but the only widget that takes a toolbar seems to be the MacosScaffold widget.
According to the demo in macosui.dev: "A toolbar provides convenient access to frequently used commands and controls that perform actions relevant to the current view."
Considering the MacosScaffold widget is placed at the top of my widget tree, how can I update the items in the toolbar based on the contents of the ContentArea?
Please feel free to set me straight if there's a fundamental misunderstanding of the concept. Any help is appreciated.
Ex:
Beta Was this translation helpful? Give feedback.
All reactions