ThemeData.raw({Brightness brightness, Color primaryColor, Brightness primaryColorBrightness, Color accentColor, Brightness accentColorBrightness, Color canvasColor, Color scaffoldBackgroundColor, Color cardColor, Color dividerColor, Color highlightColor, Color splashColor, Color selectedRowColor, Color unselectedWidgetColor, Color disabledColor, Color buttonColor, Color secondaryHeaderColor, Color textSelectionColor, Color textSelectionHandleColor, Color backgroundColor, Color indicatorColor, Color hintColor, Color errorColor, TextTheme textTheme, TextTheme primaryTextTheme, TextTheme accentTextTheme, IconThemeData iconTheme, IconThemeData primaryIconTheme, IconThemeData accentIconTheme, TargetPlatform platform })

Create a ThemeData given a set of exact values. All the values must be specified.

This will rarely be used directly. It is used by lerp to create intermediate themes based on two themes created with the new ThemeData constructor.

Source

ThemeData.raw({
  this.brightness,
  this.primaryColor,
  this.primaryColorBrightness,
  this.accentColor,
  this.accentColorBrightness,
  this.canvasColor,
  this.scaffoldBackgroundColor,
  this.cardColor,
  this.dividerColor,
  this.highlightColor,
  this.splashColor,
  this.selectedRowColor,
  this.unselectedWidgetColor,
  this.disabledColor,
  this.buttonColor,
  this.secondaryHeaderColor,
  this.textSelectionColor,
  this.textSelectionHandleColor,
  this.backgroundColor,
  this.indicatorColor,
  this.hintColor,
  this.errorColor,
  this.textTheme,
  this.primaryTextTheme,
  this.accentTextTheme,
  this.iconTheme,
  this.primaryIconTheme,
  this.accentIconTheme,
  this.platform
}) {
  assert(brightness != null);
  assert(primaryColor != null);
  assert(primaryColorBrightness != null);
  assert(accentColor != null);
  assert(accentColorBrightness != null);
  assert(canvasColor != null);
  assert(scaffoldBackgroundColor != null);
  assert(cardColor != null);
  assert(dividerColor != null);
  assert(highlightColor != null);
  assert(splashColor != null);
  assert(selectedRowColor != null);
  assert(unselectedWidgetColor != null);
  assert(disabledColor != null);
  assert(buttonColor != null);
  assert(secondaryHeaderColor != null);
  assert(textSelectionColor != null);
  assert(textSelectionHandleColor != null);
  assert(disabledColor != null);
  assert(indicatorColor != null);
  assert(hintColor != null);
  assert(errorColor != null);
  assert(textTheme != null);
  assert(primaryTextTheme != null);
  assert(accentTextTheme != null);
  assert(iconTheme != null);
  assert(primaryIconTheme != null);
  assert(accentIconTheme != null);
  assert(platform != null);
}