ubuntu / yaru.dart

Ubuntu Yaru Flutter widgets and themes for building desktop and web applications
https://ubuntu.github.io/yaru.dart/
Mozilla Public License 2.0
242 stars 37 forks source link

Create a yaru popover #944

Open Feichtmeier opened 3 weeks ago

Feichtmeier commented 3 weeks ago

Since this doesn't cut it for the desktop:

https://github.com/user-attachments/assets/fdd2fbbd-ccd1-478b-9f85-403fef94ed5d

we need something like in gtk

image

There is a library for this

https://pub.dev/packages/popover_gtk

but imo it would be cool to have this inside yaru.dart

WDYT @Jupi007 do you agree and is this something you could do eventually? πŸ‘ΌπŸ» Since you are the expert in our custom widgets

Jupi007 commented 3 weeks ago

Ofc, I would love to have something similar inside yaru :D

Feichtmeier commented 3 weeks ago

Ofc, I would love to have something similar inside yaru :D

awesome! maybe it doesnt even have to be a custom painted thing? but that's your decision ofc, for a start on this showMenu thing you could have a look at the mess I made inside YaruSplitButton πŸ˜†