color method

VxCard color(
  1. Color val
)

The card's background color.

Defines the card's Material.color.

If this property is null then CardTheme.color of ThemeData.cardTheme is used. If that's null then ThemeData.cardColor is used.

Implementation

VxCard color(Color val) => this..velocityColor = val;