Is there a way to add shadow behind the app bar action buttons in Flutter?

533 Views Asked by At

I am using SliverAppBar widget with some background image behind it. Since the image I will load will be dynamic, sometimes it can have light colors and can cause the back button (or any other action button) to be hardly visible.

As you can see in the screenshot below, I gave a little shadow to the app bar title using TextStyle & Shadow widgets, so it is much more visible than the back button.

Example image

1

There are 1 best solutions below