CupertinoThemeData constructor

const CupertinoThemeData(
  1. {Brightness? brightness,
  2. Color? primaryColor,
  3. Color? primaryContrastingColor,
  4. CupertinoTextThemeData? textTheme,
  5. Color? barBackgroundColor,
  6. Color? scaffoldBackgroundColor,
  7. bool? applyThemeToAll}
)

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,
  bool? applyThemeToAll,
}) : this.raw(
      brightness,
      primaryColor,
      primaryContrastingColor,
      textTheme,
      barBackgroundColor,
      scaffoldBackgroundColor,
      applyThemeToAll,
    );