render method
Implementation
void render(
  Canvas canvas,
  Vector2 position, {
  Anchor anchor = Anchor.topLeft,
}) {
  final box = metrics;
  translate(
    position.x - box.width * anchor.x,
    position.y - box.height * anchor.y - box.top,
  );
  draw(canvas);
}