gradient property

Gradient? gradient
final

Here you can pass your Gradient widget to show gradient color as background of ProCard.

Remember ! You must pass true in gradientEnable to show your Gradient.

Example with LinearGradient :

LinearGradient(
  begin: Alignment.centerLeft,
  end: Alignment.centerRight,
  colors: [
    Colors.blue,
    Colors.green,
  ],
)

Implementation

final Gradient? gradient;