Open nikhil-viewzen opened 5 months ago
There is a dropShadow filter, but to use on text that's drawn on another image, you'll need to draw the text into it's own image, add the shadow to it, and then composite the result onto the other image.
https://github.com/brendan-duncan/image/blob/main/test/filter/drop_shadow_test.dart https://github.com/brendan-duncan/image/blob/main/doc/images/filter/dropShadow.png
Alternatively if you just want a hard shadow you could draw the text twice.
Is it possible to add shadow to text in drawString