SmartEditorSettings class

Core editor behavior settings.

Controls the editor's fundamental behavior like initial text, placeholders, dark mode, and text processing rules.

Constructors

SmartEditorSettings({String? hint, String? initialText, bool? darkMode, bool disabled = false, bool readOnly = false, bool spellCheck = false, int? characterLimit, int? maxLines, bool processInputHtml = true, bool processOutputHtml = true, bool processNewLineAsBr = false})
const

Properties

characterLimit int?
Maximum number of characters allowed. null = unlimited.
final
darkMode bool?
Dark mode control:
final
disabled bool
Starts the editor in disabled (non-interactive) mode
final
hashCode int
The hash code for this object.
no setterinherited
hint String?
Placeholder text shown when the editor is empty
final
initialText String?
Initial HTML content to pre-fill the editor
final
maxLines int?
Maximum number of lines (blocks). null = unlimited.
final
processInputHtml bool
Whether to process input HTML (clean up quotes, newlines, etc.)
final
processNewLineAsBr bool
Whether to convert \n to <br> in input HTML
final
processOutputHtml bool
Whether to process output HTML (return "" for empty editor instead of
final
readOnly bool
Starts the editor in read-only mode. The user can see and select text but cannot edit it.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spellCheck bool
Enables browser/OS spell checking
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited