render method
How to draw this widget on the canvas
Implementation
@override
void render(canvas, context) {
canvas.save();
childrenBuild.forEach((child) {
child.render(canvas, context);
if (isHorizontal) {
canvas.translate(child.bounds.x, 0);
} else {
canvas.translate(0, child.bounds.y);
}
});
canvas.restore();
}