SyntaxHighlightView constructor

const SyntaxHighlightView({
  1. Key? key,
  2. required String code,
  3. String language = 'plaintext',
  4. SyntaxColors? colors,
  5. TextStyle? baseStyle,
  6. bool showLineNumbers = true,
  7. int startLine = 1,
})

Implementation

const SyntaxHighlightView({
  super.key,
  required this.code,
  this.language = 'plaintext',
  this.colors,
  this.baseStyle,
  this.showLineNumbers = true,
  this.startLine = 1,
});