CodeEditor constructor
const
CodeEditor({
- Key? key,
- CodeLineEditingController? controller,
- CodeEditorStyle? style,
- EdgeInsetsGeometry? padding,
- bool readOnly = false,
- bool wordWrap = false,
- bool showCursorWhenReadOnly = true,
- FocusNode? focusNode,
- ValueChanged<
String> ? onChanged, - CodeIndicatorBuilder? indicatorBuilder,
- SelectionToolbarController? toolbarController,
Implementation
const CodeEditor({
super.key,
this.controller,
this.style,
this.padding,
this.readOnly = false,
this.wordWrap = false,
this.showCursorWhenReadOnly = true,
this.focusNode,
this.onChanged,
this.indicatorBuilder,
this.toolbarController,
});