flutter card with image and text code example
Example: flutter card with image and text
Card(
child: Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage("images/image.png"),
fit: BoxFit.fitWidth,
alignment: Alignment.topCenter,
),
),
child: Text("YOUR TEXT"),
),
),