typography property

Typography? typography
final

The color and geometry TextTheme values used to configure textTheme.

Same property as in ThemeData factory. Included for convenience to avoid a copyWith if it needs to be changed. Default value deviates from the Flutter standard that uses the old Typography.material2014, in favor of newer Typography.material2018 as default typography if one is not provided.

In M3 mode FCS default to Typography.material2021 and in M2 mode to older Typography.material2018, which is correct for M2. Please note that Flutter ThemeData defaults to even older Typography Typography.material2014 when not using M3. This is done for legacy compatibility reasons, you should use 2018 with M2.

Implementation

final Typography? typography;