Answers for "make image a background image of card flutter"

1

flutter card background image

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 "make image a background image of card flutter"

Browse Popular Code Answers by Language