textTheme property

CupertinoTextThemeData textTheme

Text styles used by Cupertino widgets.

Derived from brightness and primaryColor if unspecified, including brightness and primaryColor of a Material ThemeData if coming from a Material Theme.

Implementation

CupertinoTextThemeData get textTheme {
  return _textTheme ?? CupertinoTextThemeData(
    brightness: brightness,
    primaryColor: primaryColor,
  );
}