MiniMapPainter constructor
MiniMapPainter({
- required Color bgColor,
- required CodeForgeController controller,
- required ScrollController scrollCtrl,
- required bool lineWrap,
- required SyntaxHighlighter highlighter,
- String? fontFamily,
- double fontSize = 1,
- TextDirection textDirection = .ltr,
- double lineHeight = 1,
- Color selectionColor = const Color(0x6E2195F3),
- required Listenable selectionRepaint,
- required Listenable diagnosticsRepaint,
Implementation
MiniMapPainter({
required this.bgColor,
required this.controller,
required this.scrollCtrl,
required this.lineWrap,
required this.highlighter,
this.fontFamily,
this.fontSize = 1,
this.textDirection = .ltr,
this.lineHeight = 1,
this.selectionColor = const Color(0x6E2195F3),
required this.selectionRepaint,
required this.diagnosticsRepaint,
}) : super(
repaint: Listenable.merge([
scrollCtrl,
selectionRepaint,
diagnosticsRepaint,
]),
);