scriptCategory property

ScriptCategory scriptCategory

Defines the localized TextStyle geometry for ThemeData.textTheme.

The scriptCategory defines the overall geometry of a TextTheme for the static MaterialTextGeometry.localizedFor 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

ScriptCategory get scriptCategory;