ZdsQuillEditorPage class

Represents a Quill editor page.

Inheritance
Available extensions

Properties

charLimit int
The maximum number of characters allowed in the editor.
final
embedBuilders List<EmbedBuilder>?
EmbedBuilders for image and video support
final
embedButtons List<EmbedButtonBuilder>?
Toolbar items to display for controls of embed blocks.
final
hashCode int
The hash code for this object.
no setterinherited
initialDelta ZdsQuillDelta?
The initial content for the editor.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
langCode String?
The language code for localization purposes.
final
placeholder String?
A placeholder text for the editor when it's empty.
final
quillToolbarPosition QuillToolbarPosition?
The position of the toolbar, either at the top or bottom.
final
readOnly bool
Determines if the editor should be read-only.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showClearFormatAsFloating bool
Decides the visibility of the clear formatting floating button.
final
title String
The title displayed in the editor's AppBar.
final
toolbarIconSize double
The size of the toolbar icons.
final
toolbarOptions Set<QuillToolbarOption>
Set of toolbar options for customization.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ZdsQuillEditorPage>
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.
override
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

Static Methods

edit(BuildContext context, {required String title, String? langCode, String? placeholder, int charLimit = 10000, bool readOnly = false, ZdsQuillDelta? initialDelta, double toolbarIconSize = kDefaultIconSize, bool fullscreenDialog = true, bool showClearFormatAsFloating = true, Set<QuillToolbarOption>? toolbarOptions, QuillToolbarPosition? quillToolbarPosition = QuillToolbarPosition.bottom, List<EmbedBuilder>? embedBuilders, List<EmbedButtonBuilder>? embedButtons}) Future<ZdsQuillDelta?>
Navigates to the editor page for creating or editing content.