applyTheme property
final
Whether to apply the ambient CupertinoThemeData.
If true, the track uses CupertinoThemeData.primaryColor for the track when the switch is on.
Defaults to CupertinoThemeData.applyThemeToAll.
Implementation
final bool? applyTheme;