Answers for "image with text flutter"

1

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"),
      ),
    ),
Posted by: Guest on February-08-2021
1

flutter add text on image

Stack(
    alignment: Alignment.center,
    children: <Widget>[
        yourImageWidget,
        Text("someText"),
    ]
)
Posted by: Guest on July-15-2020

Code answers related to "image with text flutter"

Browse Popular Code Answers by Language