shape method

VxCard shape(
  1. ShapeBorder shape
)

The shape of the card's Material.

Defines the card's Material.shape.

If this property is null then CardTheme.shape of ThemeData.cardTheme is used. If that's null then the shape will be a RoundedRectangleBorder with a circular corner radius of 4.0.

Implementation

VxCard shape(ShapeBorder shape) => this.._shape = shape;