gradientEnable property

bool? gradientEnable
final

If you want the background color of the card to be gradient then you have to enable it by passing true here. After that you can pass any Gradient widget.

Implementation

final bool? gradientEnable;