HtmlEditorField constructor

const HtmlEditorField({
  1. Key? key,
  2. required HtmlEditorController? controller,
  3. ResizeMode resizeMode = ResizeMode.resizeToParent,
  4. InAppWebViewSettings? inAppWebViewSettings,
  5. int? maximumFileSize,
  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. String? hint,
  17. VoidCallback? onMouseUp,
  18. VoidCallback? onMouseDown,
  19. ValueChanged<String>? onChange,
  20. ValueChanged<String>? onUrlPressed,
  21. String cssBuilder(
    1. String css,
    2. ThemeData themeData
    )?,
  22. String jsInitBuilder(
    1. String js
    )?,
  23. ValueChanged<String>? onSelectionChange,
})

Implementation

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