NiceDocumentEditor constructor

const NiceDocumentEditor({
  1. Key? key,
  2. String initialContent = '',
  3. String placeholder = 'Zacznij pisać…',
  4. ValueChanged<String>? onChanged,
  5. Future<void> onSave(
    1. String content
    )?,
  6. bool readOnly = false,
  7. bool showToolbar = true,
  8. bool showWordCount = true,
  9. int minLines = 20,
  10. String? title,
  11. ValueChanged<String>? onTitleChanged,
})

Implementation

const NiceDocumentEditor({
  super.key,
  this.initialContent = '',
  this.placeholder = 'Zacznij pisać…',
  this.onChanged,
  this.onSave,
  this.readOnly = false,
  this.showToolbar = true,
  this.showWordCount = true,
  this.minLines = 20,
  this.title,
  this.onTitleChanged,
});