width property

double? width
final

The width of the card.

If null, defaults to double.infinity when showing an image or placeholder. When using a custom child, its width will be used if this is null.

Implementation

final double? width;