HtmlEditorOptions constructor

const HtmlEditorOptions({
  1. bool autoAdjustHeight = true,
  2. bool androidUseHybridComposition = true,
  3. bool adjustHeightForKeyboard = true,
  4. int? characterLimit,
  5. String customOptions = '',
  6. bool? darkMode,
  7. bool disabled = false,
  8. String? filePath,
  9. String? hint,
  10. String? initialText,
  11. HtmlInputType inputType = HtmlInputType.text,
  12. ContextMenu? mobileContextMenu,
  13. Duration? mobileLongPressDuration,
  14. UnmodifiableListView<UserScript>? mobileInitialScripts,
  15. UnmodifiableListView<WebScript>? webInitialScripts,
  16. bool shouldEnsureVisible = false,
  17. bool spellCheck = false,
})

Implementation

const HtmlEditorOptions({
  this.autoAdjustHeight = true,
  this.androidUseHybridComposition = true,
  this.adjustHeightForKeyboard = true,
  this.characterLimit,
  this.customOptions = '',
  this.darkMode,
  this.disabled = false,
  this.filePath,
  this.hint,
  this.initialText,
  this.inputType = HtmlInputType.text,
  this.mobileContextMenu,
  this.mobileLongPressDuration,
  this.mobileInitialScripts,
  this.webInitialScripts,
  this.shouldEnsureVisible = false,
  this.spellCheck = false,
});