INNER CODE UNIT · Dart
_CodeField
reqable/re-editor · lib/src/_code_field.dart:3
class _CodeField extends SingleChildRenderObjectWidget {
final ViewportOffset verticalViewport;
final ViewportOffset? horizontalViewport;
final double verticalScrollbarWidth;
final double horizontalScrollbarHeight;
final CodeLines codes;
final CodeLineSelection selection;
final List<CodeLineSelection>? highlightSelections;
final TextStyle textStyle;
final bool hasFocus;
final _CodeHighlighter highlighter;
final ValueNotifier<bool> showCursorNotifier;
final ValueNotifier<_FloatingCursorState> floatingCursorNotifier;
final ValueChanged<List<CodeLineRenderParagraph>> onRenderParagraphsChanged;
final Color selectionColor;
final Color highlightColor;
final Color cursorColor;