ThemeData constructor

const ThemeData({
  1. Style primaryStyle = Style.empty,
  2. Style backgroundStyle = Style.empty,
  3. Style textStyle = Style.empty,
  4. Style accentStyle = Style.empty,
  5. Style warningStyle = Style.empty,
  6. Style inputStyle = Style.empty,
  7. Style focusStyle = Style.empty,
  8. Style selectionStyle = Style.empty,
})

Creates a new ThemeData with the provided styles.

Implementation

const ThemeData({
  this.primaryStyle = Style.empty,
  this.backgroundStyle = Style.empty,
  this.textStyle = Style.empty,
  this.accentStyle = Style.empty,
  this.warningStyle = Style.empty,
  this.inputStyle = Style.empty,
  this.focusStyle = Style.empty,
  this.selectionStyle = Style.empty,
});