TextStyle constructor

const TextStyle({
  1. Color? color,
  2. Color? backgroundColor,
  3. bool bold = false,
  4. bool italic = false,
  5. bool underline = false,
  6. bool dim = false,
  7. FontFamily fontFamily = FontFamily.monospace,
})

Creates a TextStyle with the given properties.

Implementation

const TextStyle({
  this.color,
  this.backgroundColor,
  this.bold = false,
  this.italic = false,
  this.underline = false,
  this.dim = false,
  this.fontFamily = FontFamily.monospace,
});