Flutter Mobile Apps - How to make Rounded Corners in Flutter Cards

Published: 01 January 1970
on channel: OSP PRO
481
2

#flutterapps #fluttermobileapps #mobileapps
Flutter Mobile Apps - How to make Rounded Corners in Flutter Cards
You can set the shape property to RoundedRectangleBorder() or CircleBorder() in order to create a circle Card.

If you use RoundedRectangleBorder, the key point here is to increase the border-radius to a large number, at least half the width of the Card’s child. One other necessary thing is that the child needs to be a square.