Draw over an image

Hi i want to know if there is a way to draw over an image and add some text on it ? thx

@Karmous_Ahmed Hey Karmous. Thanks for reaching out to the community.

Adding a text over an image is quite easy. I am sure you must have heard of the stack widget. This amazing widget allows you to stack widgets on top of each other.

So using this, you can have a Stack like -[Image, TextField].

Similarly you can have CustomPainter as a part of your Stack. In this way, you will be able to draw on the image as well.

2 Likes