gradient property
A gradient to use for the box's background.
Applied if decoration is null or a BoxDecoration. Ignored otherwise. If a gradient is specified, the color property will be ignored within the resulting BoxDecoration, as per BoxDecoration rules.
Implementation
final Gradient? gradient;