setColors method
Returns a new OMeshRect with the given colors
.
Implementation
OMeshRect setColors(List<Color?> colors) {
return OMeshRect._(
width: width,
height: height,
vertices: vertices,
colors: colors,
fallbackColor: fallbackColor,
backgroundColor: backgroundColor,
colorSpace: colorSpace,
smoothColors: smoothColors,
);
}