CupertinoThemeData.raw constructor

  1. @protected
const CupertinoThemeData.raw(
  1. Brightness? brightness,
  2. Color? primaryColor,
  3. Color? primaryContrastingColor,
  4. CupertinoTextThemeData? textTheme,
  5. Color? barBackgroundColor,
  6. Color? scaffoldBackgroundColor,
  7. 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,
    );