showHintAtRectangle method

void showHintAtRectangle(
  1. String label,
  2. Rectangle<num> rect
)

Shows a hint with label bellow rect in canvas.

Implementation

void showHintAtRectangle(String label, Rectangle<num> rect) {
  showHint(
    label,
    Point(rect.left + (rect.width / 2), rect.top + rect.height),
  );
}