TerminalPainter constructor
TerminalPainter({
- required MirrorGrid grid,
- required GlyphCache glyphs,
- required double cellWidth,
- required double cellHeight,
- required int selectionColor,
- required SearchColors searchColors,
- required HintColors hintColors,
- LinkOverlay linkOverlay = LinkOverlay.empty,
- GlyphAtlas? atlas,
- 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);