AffogatoEditorFieldController<S, SyntaxHighlighter> constructor

AffogatoEditorFieldController<S, SyntaxHighlighter>({
  1. required LanguageBundle? languageBundle,
  2. required ThemeBundle<S, Color, TextStyle, TextSpan> themeBundle,
  3. required AffogatoWorkspaceConfigs workspaceConfigs,
  4. String? initialText,
})

Implementation

AffogatoEditorFieldController({
  required this.languageBundle,
  required this.themeBundle,
  required this.workspaceConfigs,
  this.initialText,
})  : syntaxHighlighter =
          AffogatoDefaultSyntaxHighlighter(languageBundle?.bundleName),
      super(text: initialText);