NiceSimpleCodeEditor constructor

const NiceSimpleCodeEditor({
  1. Key? key,
  2. String value = '',
  3. void onChange(
    1. String value
    )?,
  4. String language = 'text',
  5. bool lineNumbers = true,
  6. double height = 300,
  7. int tabSize = 2,
  8. bool readOnly = false,
})

Implementation

const NiceSimpleCodeEditor({
  super.key,
  this.value = '',
  this.onChange,
  this.language = 'text',
  this.lineNumbers = true,
  this.height = 300,
  this.tabSize = 2,
  this.readOnly = false,
});