I want to click a card with an InkWell that displays an image as it was an AlertDialog with text on top of it. I think the issue could be setting an image as background on AlertDialog, so I can write on top of it, but I can only use backgroundColor.
This is what I had in mind, but I can not set an image as background for the AlertDialog.
child: InkWell(
onTap: () {
showDialog(
context: context,
builder: (BuildContext context) {
return AlertDialog(
content: Container(...),
);
},
);
},
child: Container(...),
),