DartSyntaxHighlighter constructor

DartSyntaxHighlighter([
  1. SyntaxHighlighterStyle? _style
])

Implementation

DartSyntaxHighlighter([this._style]) {
  _spans = <_HighlightSpan>[];
  _style ??= SyntaxHighlighterStyle.darkThemeStyle();
}