cupertinoOverrideTheme property

NoDefaultCupertinoThemeData? cupertinoOverrideTheme

Components of the CupertinoThemeData to override from the Material ThemeData adaptation.

By default, cupertinoOverrideTheme is null and Cupertino widgets descendant to the Material Theme will adhere to a CupertinoTheme derived from the Material ThemeData. e.g. ThemeData's ColorScheme will also inform the CupertinoThemeData's primaryColor etc.

This cascading effect for individual attributes of the CupertinoThemeData can be overridden using attributes of this cupertinoOverrideTheme.


final NoDefaultCupertinoThemeData? cupertinoOverrideTheme;