Background Image In Card In Flutter Code Example
Example: 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"), ), ),
Comments
Post a Comment