gradient property
设置组件渐变色背景。会覆盖 backgroundColor 你可选择 LinearGradient,RadialGradient,SweepGradient 等..
Sets the gradient background of the component. BackgroundColor
You can choose LinearGradient, RadialGradient, SweepGradient, etc ..
Implementation
final Gradient? gradient;