/**
可以實(shí)現(xiàn)背景顏色漸變
* const LinearGradient({
this.begin = Alignment.centerLeft,
this.end = Alignment.centerRight,
@required List<Color> colors,//顏色取值
List<double> stops,
this.tileMode = TileMode.clamp,
GradientTransform transform,
})
*/
decoration: BoxDecoration(
gradient: LinearGradient(
colors: [Color(HexColor.getColorFromHex(info['classifycolorright'])), Color(HexColor.getColorFromHex(info['classifycolor']))]
)
),