How to remove a card's inner padding in flutter?
I just want to leave a full code removing the default margin to make it clear
Card( margin: EdgeInsets.zero, clipBehavior: Clip.antiAlias, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(8.0), ), elevation: 4, child: Image.network( model.item.image, width: 20, height: 200, alignment: Alignment.center, fit: BoxFit.cover,),
The Card widget has Padding by default. If this is not the desired behavior you could implement your own widget using Container that looks like a Card