macosui / macos_ui

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

Allow custom sizes in SidebarItemsConfiguration #476

Open plarson opened 11 months ago

plarson commented 11 months ago

First PR for this repository. I needed to make the sidebar icons bigger so I reconfigured SidebarItemsConfiguration to not be private.

Pre-launch Checklist

GroovinChip commented 9 months ago

Hi @plarson and thank you for your first PR to this project.

I am not certain that making SidebarItemsConfiguration is the best technical choice to achieve the desired result. I'd lean towards adding an iconSize property to the Sidebar itself.

That said, it is not clear to me if Apple has a design opinion about this. The Human Interface Guidelines make no mention of it, and research is required to see if SwiftUI supports it. I will look into this and get back to you.