CupertinoThemeData.raw constructor
- Brightness? brightness,
- Color? primaryColor,
- Color? primaryContrastingColor,
- CupertinoTextThemeData? textTheme,
- Color? barBackgroundColor,
- Color? scaffoldBackgroundColor,
- bool? applyThemeToAll,
Same as the default constructor but with positional arguments to avoid forgetting any and to specify all arguments.
Used by subclasses to get the superclass's defaulting behaviors.
Implementation
@protected
const CupertinoThemeData.raw(
Brightness? brightness,
Color? primaryColor,
Color? primaryContrastingColor,
CupertinoTextThemeData? textTheme,
Color? barBackgroundColor,
Color? scaffoldBackgroundColor,
bool? applyThemeToAll,
) : this._rawWithDefaults(
brightness,
primaryColor,
primaryContrastingColor,
textTheme,
barBackgroundColor,
scaffoldBackgroundColor,
applyThemeToAll,
_kDefaultTheme,
);