geometryThemeFor method

TextTheme geometryThemeFor(
  1. ScriptCategory category
)

Returns one of englishLike, dense, or tall.

Implementation

TextTheme geometryThemeFor(ScriptCategory category) {
  return switch (category) {
    ScriptCategory.englishLike => englishLike,
    ScriptCategory.dense       => dense,
    ScriptCategory.tall        => tall,
  };
}