measureText method

TextMetrics? measureText(
  1. String text
)

Implementation

TextMetrics? measureText(String text) {
  // TextPainter textPainter = _getTextPainter(text, fillStyle);
  // TODO: transform textPainter layout info into TextMetrics.
  return null;
}