URichTextEditor constructor
const
URichTextEditor({
- Key? key,
- String? initialHtml,
- ValueChanged<
String> ? onChanged, - URichImageUploader? onUploadImage,
- ValueChanged<
String> ? onAutoSave, - Duration autoSaveInterval = const Duration(seconds: 20),
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
- bool readOnly = false,
- 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,
});