AffogatoEditorFieldController<S, SyntaxHighlighter> constructor
AffogatoEditorFieldController<S, SyntaxHighlighter> ({
- required LanguageBundle? languageBundle,
- required ThemeBundle<
S, Color, TextStyle, TextSpan> themeBundle, - required AffogatoWorkspaceConfigs workspaceConfigs,
- String? initialText,
Implementation
AffogatoEditorFieldController({
required this.languageBundle,
required this.themeBundle,
required this.workspaceConfigs,
this.initialText,
}) : syntaxHighlighter =
AffogatoDefaultSyntaxHighlighter(languageBundle?.bundleName),
super(text: initialText);