Answers for "create image from card in 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

Code answers related to "create image from card in flutter"

Browse Popular Code Answers by Language