URichTextEditor constructor

const URichTextEditor({
  1. Key? key,
  2. String? initialHtml,
  3. ValueChanged<String>? onChanged,
  4. URichImageUploader? onUploadImage,
  5. ValueChanged<String>? onAutoSave,
  6. Duration autoSaveInterval = const Duration(seconds: 20),
  7. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
  8. bool readOnly = false,
  9. bool showStatusBar = true,
})

Implementation

const URichTextEditor({
  super.key,
  this.initialHtml,
  this.onChanged,
  this.onUploadImage,
  this.onAutoSave,
  this.autoSaveInterval = const Duration(seconds: 20),
  this.padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
  this.readOnly = false,
  this.showStatusBar = true,
});