CupertinoThemeData constructor Null safety
- {Brightness? brightness,
- Color? primaryColor,
- Color? primaryContrastingColor,
- CupertinoTextThemeData? textTheme,
- Color? barBackgroundColor,
- Color? scaffoldBackgroundColor}
Creates a CupertinoTheme styling specification.
Unspecified parameters default to a reasonable iOS default style.
Implementation
const CupertinoThemeData({
Brightness? brightness,
Color? primaryColor,
Color? primaryContrastingColor,
CupertinoTextThemeData? textTheme,
Color? barBackgroundColor,
Color? scaffoldBackgroundColor,
}) : this.raw(
brightness,
primaryColor,
primaryContrastingColor,
textTheme,
barBackgroundColor,
scaffoldBackgroundColor,
);