registerFont static method

void registerFont(
  1. FontKey key,
  2. String fontFamily
)

Register a font family with a FontKey

Implementation

static void registerFont(FontKey key, String fontFamily) {
  _fonts[key.key] = fontFamily;
}