scriptCategory property

  1. @override
ScriptCategory get scriptCategory
override

Defines the localized TextStyle geometry for ThemeData.textTheme.

The scriptCategory defines the overall geometry of a TextTheme for the Typography.geometryThemeFor method in terms of the three language categories defined in https://material.io/go/design-typography.

Generally speaking, font sizes for ScriptCategory.tall and ScriptCategory.dense scripts - for text styles that are smaller than the title style - are one unit larger than they are for ScriptCategory.englishLike scripts.

Implementation

@override
ScriptCategory get scriptCategory => ScriptCategory.tall;