CodeForge constructor
const
CodeForge({
- Key? key,
- CodeForgeController? controller,
- UndoRedoController? undoController,
- Map<
String, TextStyle> ? editorTheme, - Mode? language,
- AiCompletion? aiCompletion,
- TextStyle? aiCompletionTextStyle,
- LspConfig? lspConfig,
- String? filePath,
- String? initialText,
- FocusNode? focusNode,
- ScrollController? verticalScrollController,
- ScrollController? horizontalScrollController,
- TextStyle? textStyle,
- EdgeInsets? innerPadding,
- bool readOnly = false,
- bool autoFocus = false,
- bool lineWrap = false,
- bool enableFolding = true,
- bool enableGuideLines = true,
- bool enableSuggestions = true,
- bool enableGutter = true,
- bool enableGutterDivider = false,
- CodeSelectionStyle? selectionStyle,
- GutterStyle? gutterStyle,
- SuggestionStyle? suggestionStyle,
- HoverDetailsStyle? hoverDetailsStyle,
Creates a CodeForge code editor widget.
Implementation
const CodeForge({
super.key,
this.controller,
this.undoController,
this.editorTheme,
this.language,
this.aiCompletion,
this.aiCompletionTextStyle,
this.lspConfig,
this.filePath,
this.initialText,
this.focusNode,
this.verticalScrollController,
this.horizontalScrollController,
this.textStyle,
this.innerPadding,
this.readOnly = false,
this.autoFocus = false,
this.lineWrap = false,
this.enableFolding = true,
this.enableGuideLines = true,
this.enableSuggestions = true,
this.enableGutter = true,
this.enableGutterDivider = false,
this.selectionStyle,
this.gutterStyle,
this.suggestionStyle,
this.hoverDetailsStyle,
});