textTheme property Null safety

CupertinoTextThemeData textTheme
override

Text styles used by Cupertino widgets.

Derived from primaryColor if unspecified.

Implementation

@override
CupertinoTextThemeData get textTheme {
  return super.textTheme ?? _defaults.textThemeDefaults.createDefaults(primaryColor: primaryColor);
}