Style constructor

const Style({
  1. Color? fg,
  2. Color? bg,
  3. RgbColor? fgRgb,
  4. RgbColor? bgRgb,
  5. IndexedColor? fgIndexed,
  6. IndexedColor? bgIndexed,
  7. Modifier addModifier = Modifier.none,
  8. Modifier subModifier = Modifier.none,
})

Implementation

const Style({
  this.fg,
  this.bg,
  this.fgRgb,
  this.bgRgb,
  this.fgIndexed,
  this.bgIndexed,
  this.addModifier = Modifier.none,
  this.subModifier = Modifier.none,
});