I don’t really know if it’s possible but I’d like to make a Widget, like a box with some text on it, to have the opacity going from 100% to 0% across it. Here is an example made on Photoshop :
Example
I don’t know if it’s possible or if there is a package which does that, but it would be really helpful !
3
Answers
It seems you could use a linear gradient.
https://www.digitalocean.com/community/tutorials/flutter-flutter-gradient
ColorFilter.mode check the code above
Try this: