ThemeData constructor

const ThemeData({
  1. Color? primaryColor,
  2. Color? secondaryColor,
  3. Color? backgroundColor,
  4. Color? surfaceColor,
  5. Color? textColor,
  6. Color? disabledColor,
  7. Color? errorColor,
  8. Style? textStyle,
  9. Style? headingStyle,
  10. Style? borderStyle,
  11. Style? focusedBorderStyle,
})

Implementation

const ThemeData({
  this.primaryColor,
  this.secondaryColor,
  this.backgroundColor,
  this.surfaceColor,
  this.textColor,
  this.disabledColor,
  this.errorColor,
  this.textStyle,
  this.headingStyle,
  this.borderStyle,
  this.focusedBorderStyle,
});