Answers for "flutter background image on card"

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 "flutter background image on card"

Browse Popular Code Answers by Language