1. @DomName('CanvasRenderingContext2D.measureText')
  2. @DocsEditable()
TextMetrics measureText(String text)

Source

@DomName('CanvasRenderingContext2D.measureText')
@DocsEditable()
TextMetrics measureText(String text) =>
    _blink.BlinkCanvasRenderingContext2D.instance
        .measureText_Callback_1_(this, text);