TerminalPainter constructor

TerminalPainter({
  1. required MirrorGrid grid,
  2. required GlyphCache glyphs,
  3. required double cellWidth,
  4. required double cellHeight,
  5. required int selectionColor,
  6. required SearchColors searchColors,
  7. required HintColors hintColors,
  8. LinkOverlay linkOverlay = LinkOverlay.empty,
  9. GlyphAtlas? atlas,
  10. double backgroundOpacity = 1.0,
})

Implementation

TerminalPainter({
  required this.grid,
  required this.glyphs,
  required this.cellWidth,
  required this.cellHeight,
  required this.selectionColor,
  required this.searchColors,
  required this.hintColors,
  this.linkOverlay = LinkOverlay.empty,
  this.atlas,
  this.backgroundOpacity = 1.0,
})  : _paintGeneration = grid.generation,
      _atlasGeneration = atlas?.generation ?? 0,
      super(repaint: grid);