CupertinoThemeData.raw constructor Null safety
- Brightness? brightness,
- Color? primaryColor,
- Color? primaryContrastingColor,
- CupertinoTextThemeData? textTheme,
- Color? barBackgroundColor,
- Color? scaffoldBackgroundColor
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,
) : this._rawWithDefaults(
brightness,
primaryColor,
primaryContrastingColor,
textTheme,
barBackgroundColor,
scaffoldBackgroundColor,
_kDefaultTheme,
);