CodeEditor constructor

const CodeEditor({
  1. Key? key,
  2. CodeLineEditingController? controller,
  3. CodeEditorStyle? style,
  4. EdgeInsetsGeometry? padding,
  5. bool readOnly = false,
  6. bool wordWrap = false,
  7. bool showCursorWhenReadOnly = true,
  8. FocusNode? focusNode,
  9. ValueChanged<String>? onChanged,
  10. CodeIndicatorBuilder? indicatorBuilder,
  11. 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,
});