JulyWitch / animated_snack_bar

Easily show beautiful snack bars directly using overlays. Create custom snack bars and show them with awesome animations.
https://pub.dev/packages/animated_snack_bar
GNU General Public License v3.0
18 stars 12 forks source link

Action buttons #19

Open Tantrax007 opened 3 months ago

Tantrax007 commented 3 months ago

¡Hello again!

I have one proposal (maybe already on the scope for the next version or maybe not) for the .rectangle() Snackbars which I think, from my perspective and because I'm working in a Windows application, that could be a good feature. I'm talking about having the possibility to pass a Widget? optional parameter in the .rectangle() factory constructor to let the user perform some actions. For example, a button to open a just downloaded file.

Here are some picks about what I mean: Captura de pantalla 2024-07-07 a las 22 10 46 Captura de pantalla 2024-07-07 a las 22 10 32

I'm working in a simple PR to share my thougths and see what you think.

Thank you in advance

Tantrax007 commented 3 months ago

PR: https://github.com/JulyWitch/animated_snack_bar/pull/20