HtmlEditor constructor

const HtmlEditor({
  1. Key? key,
  2. String? hint,
  3. ResizeMode resizeMode = ResizeMode.resizeToParent,
  4. HtmlEditorController? controller,
  5. InAppWebViewSettings? inAppWebViewSettings,
  6. bool? spellCheck,
  7. List<String>? customOptions,
  8. Future<bool> allowUrlLoading(
    1. Uri? uri
    )?,
  9. VoidCallback? onInit,
  10. VoidCallback? onFocus,
  11. VoidCallback? onBlur,
  12. ValueChanged<HtmlEditorFile>? onImageUpload,
  13. ValueChanged<HtmlEditorUploadError>? onImageUploadError,
  14. ValueChanged<int>? onKeyup,
  15. ValueChanged<int>? onKeydown,
  16. VoidCallback? onMouseUp,
  17. VoidCallback? onMouseDown,
  18. ValueChanged<String>? onChange,
  19. ValueChanged<String>? onUrlPressed,
  20. String cssBuilder(
    1. String css,
    2. ThemeData themeData
    )?,
  21. String jsInitBuilder(
    1. String js
    )?,
})

Implementation

const HtmlEditor({
  super.key,
  this.hint,
  this.resizeMode = ResizeMode.resizeToParent,
  this.controller,
  this.inAppWebViewSettings,
  this.spellCheck,
  this.customOptions,
  this.allowUrlLoading,
  this.onInit,
  this.onFocus,
  this.onBlur,
  this.onImageUpload,
  this.onImageUploadError,
  this.onKeyup,
  this.onKeydown,
  this.onMouseUp,
  this.onMouseDown,
  this.onChange,
  this.onUrlPressed,
  this.cssBuilder,
  this.jsInitBuilder,
});