systemFontsDidChange method

  1. @override
void systemFontsDidChange()
override

A face that loads after the text was laid out lays it out again, in the face: each style's extents (_extents) were the fallback face's, and the flow that hosts this text lays its lines again (markNeedsLayout).

Implementation

@override
void systemFontsDidChange() {
  _forgetExtents();
  super.systemFontsDidChange();
}