DrawRectangleGradientV method
Draw a vertical-gradient-filled rectangle
Implementation
void DrawRectangleGradientV(
num posX,
num posY,
num width,
num height,
Color top,
Color bottom,
) => run(
() => _debugLabels.DrawRectangleGradientV(posX, posY, width, height, top, bottom),
() => _flat.DrawRectangleGradientV(
posX.toInt(),
posY.toInt(),
width.toInt(),
height.toInt(),
top,
bottom,
),
);