systemFontsDidChange method

  1. @override
void systemFontsDidChange()
override

A face that loads after the words were measured (a font the app fetches, or loads from a file, as it runs) measures them again, in the face: the widths kept for each word (_Measure) and the content flattened over them were the fallback face's.

Implementation

@override
void systemFontsDidChange() {
  _measure = _Measure();
  _flatCache = null;
  super.systemFontsDidChange();
}