measureText method

FontMetrics measureText(
  1. String text,
  2. StylePropertyMapReadOnly styleMap
)

Implementation

FontMetrics measureText(String text, StylePropertyMapReadOnly styleMap) =>
    js_util.callMethod(this, 'measureText', [text, styleMap]);