geometryThemeFor method

TextTheme geometryThemeFor (ScriptCategory category)

Returns one of englishLike, dense, or tall.

Implementation

TextTheme geometryThemeFor(ScriptCategory category) {
  assert(category != null);
  switch (category) {
    case ScriptCategory.englishLike:
      return englishLike;
    case ScriptCategory.dense:
      return dense;
    case ScriptCategory.tall:
      return tall;
  }
  return null;
}