round rectangular card in flutter code example
Example 1: shape property of card in flutter
Card(
elevation: 5,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
),
child: ListTile(),
)
Example 2: shape property of card in flutter
Card(
elevation: 5,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
),
child: ListTile(),
)