drawBarStack abstract method

void drawBarStack(
  1. CanvasBarStack canvasBarStack, {
  2. Rectangle<num>? drawAreaBounds,
})

Renders a stack of bars, rounding the last bar in the stack.

The first bar of the stack is expected to be the "base" bar. This would be the bottom most bar for a vertically rendered bar.

drawAreaBounds if specified and if the bounds of the rectangle exceed the draw area bounds on the top, the first x pixels (decided by the native platform) exceeding the draw area will apply a gradient to transparent with anything exceeding the x pixels to be transparent.

Implementation

void drawBarStack(CanvasBarStack canvasBarStack,
    {Rectangle<num>? drawAreaBounds});