gradient property

Gradient? gradient
final

Controls the child's shades of color using Linear gradient. Child Widget only takes gradient color, If showGradient is true.

Implementation

final Gradient? gradient;