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

chore: allow customising window handle safe area padding #487

Open junaid1460 opened 9 months ago

junaid1460 commented 9 months ago

Situation: We should be able to use toolbar within sub view and that need not have this padding

Solution: Let end dev customise this padding

Pre-launch Checklist

junaid1460 commented 9 months ago

Still a draft, I will write tests and let you know when it's ready.

GroovinChip commented 9 months ago

@junaid1460 I assume this aims to address #359?

junaid1460 commented 9 months ago

@junaid1460 I assume this aims to address #359?

No, I didn't look at it before this, I just tried this library and found this padding blocking my design goal, it was hardcoded. Great if it solves that too. from what I read, it should.

junaid1460 commented 8 months ago

I have made couple of more changes. un related to original change, pulldown button isn't customizable right now