HtmlEditorOptions constructor
const
HtmlEditorOptions({
- bool autoAdjustHeight = true,
- bool androidUseHybridComposition = true,
- bool adjustHeightForKeyboard = true,
- int? characterLimit,
- String customOptions = '',
- bool? darkMode,
- bool disabled = false,
- String? filePath,
- String? hint,
- String? initialText,
- HtmlInputType inputType = HtmlInputType.text,
- ContextMenu? mobileContextMenu,
- Duration? mobileLongPressDuration,
- UnmodifiableListView<
UserScript> ? mobileInitialScripts, - UnmodifiableListView<
WebScript> ? webInitialScripts, - bool shouldEnsureVisible = false,
- 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,
});