TuiRendererOptions constructor

const TuiRendererOptions({
  1. int fps = 60,
  2. bool altScreen = true,
  3. bool hideCursor = true,
  4. bool ansiCompress = false,
  5. ScreenMode screenMode = ScreenMode.fullScreen,
  6. int inlineHeight = 4,
  7. UiAnchor uiAnchor = UiAnchor.bottom,
})

Creates renderer options.

All parameters have sensible defaults for fullscreen rendering.

Implementation

const TuiRendererOptions({
  this.fps = 60,
  this.altScreen = true,
  this.hideCursor = true,
  this.ansiCompress = false,
  this.screenMode = ScreenMode.fullScreen,
  this.inlineHeight = 4,
  this.uiAnchor = UiAnchor.bottom,
});