render method
Implementation
@override
void render(Rect area, Buffer buffer, RenderContext ctx) {
if (area.isEmpty || data.isEmpty) return;
if (orientation == BarOrientation.vertical) {
_renderVertical(area, buffer, ctx);
} else {
_renderHorizontal(area, buffer, ctx);
}
}