RenderConfig constructor

const RenderConfig({
  1. int terminalWidth = 80,
  2. ColorProfile colorProfile = ColorProfile.trueColor,
  3. bool hasDarkBackground = true,
})

Creates a render configuration with the given settings.

  • terminalWidth: Width in columns for layout (default: 80)
  • colorProfile: Terminal color capabilities (default: trueColor)
  • hasDarkBackground: Dark background for adaptive colors (default: true)

Implementation

const RenderConfig({
  this.terminalWidth = 80,
  this.colorProfile = ColorProfile.trueColor,
  this.hasDarkBackground = true,
});