Created
January 21, 2020 21:59
-
-
Save creativecreatorormaybenot/d0331c0871726af92d5f5a5d49b28f17 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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