HtmlEditor class

HTML rich text editor

Inheritance

Constructors

HtmlEditor({Key? key, double? height, double? minHeight, bool expandFullHeight = false, String? hint, String? initialValue, void onChanged(String?)?, bool? isReadOnly, bool? enableDictation, HtmlEditorController? controller, Callbacks? callbacks})
const

Properties

callbacks Callbacks?
Sets & activates callbacks. See the functions available in Callbacks for more details.
final
controller HtmlEditorController?
Provides access to all options and features
final
enableDictation bool?
If enabled - shows microphone icon and allows to use dictation within the editor
final
expandFullHeight bool
if set to true - the editor is trying to occupy all available space
final
hashCode int
The hash code for this object.
no setterinherited
height double?
Desired hight. 'Auto' if null.
final
hint String?
Hint text to display when the editor is empty.
final
initialValue String?
Initial text to load into the editor
final
isReadOnly bool?
Sets the list of Summernote plugins enabled in the editor. Puts editor in read-only mode, hiding its toollbar
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
minHeight double?
If height is omited, the editor height will be equal or greater than minHeight.
final
onChanged → (void Function(String?)?)
Shortcut for onChanged callback
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<HtmlEditor>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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