macosui / macos_ui

Flutter widgets and themes implementing the current macOS design language.
https://macosui.github.io/macos_ui/#/
MIT License
1.82k stars 178 forks source link

Give the ResizablePane the option to add a toolbar #359

Open FelixMethe opened 1 year ago

FelixMethe commented 1 year ago

Use case

This would make it possible to add different toolbars to the ResizablePane and ContentArea like the mail app does for example.

image

This is not possible now because the ResizablePane adds a MacosScrollbar over the content of the pane.

Proposal

I propose to add an optional toolbar argument to the ResizablePane that adds the toolbar above the content of the pane.

Please let me know if this is a desired feature.