fluttershadowglow

How to make a gradient shadow button in flutter?


I have that button (screenshot at the bottom). Now I want to add a constant outer glow (Glows are gradient-shadows like depends on button). Is there another possibility to do this than saving it as .png in the assets folder? That would make much less work. Thank you! screenshot


Solution

  • Now I figured it out this problem by modifying BoxDecoration like this