measureText method Null safety

TextMetrics measureText(
  1. String text
)

Implementation

TextMetrics measureText(String text) native;