I need to draw an inner shadow only in the top of a container
Currently I am using foregroundDecoration
with a liner gradient. I doesn't look very well, I don't like the finishing look.
I see there is this method drawShadow, I don't know how to use it nor if it is appropriate for inner shadows
Paint maybe would work too
I would like to use paint
or drawShadow
, not BoxShadow
as it is not working for me
Thank you