Skip to content

Instantly share code, notes, and snippets.

@creativecreatorormaybenot
Created January 21, 2020 21:59
Show Gist options
  • Save creativecreatorormaybenot/d0331c0871726af92d5f5a5d49b28f17 to your computer and use it in GitHub Desktop.
Save creativecreatorormaybenot/d0331c0871726af92d5f5a5d49b28f17 to your computer and use it in GitHub Desktop.
void paintIcon(PaintingContext context, Offset offset) {
final canvas = context.canvas;
canvas.save();
canvas.translate(0, radius * -indentationFactor / 2);
drawCondition(canvas);
canvas.restore();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment