RenderConfig constructor
const
RenderConfig({
- int terminalWidth = 80,
- ColorProfile colorProfile = ColorProfile.trueColor,
- 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,
});