eyflutter_rich_text library

Author lijinghuan Email:ljh0576123@163.com CreateTime:2023-04-22 Description:Generated file. Do not edit. Modifier: ModifyContent:

Classes

AlignAttribute
AlignDialog
ApplyCheckListIntent
ApplyHeaderIntent
ArrowIndicatedButtonList
Scrollable list with arrow indicators.
AtText
Attribute<T>
AutoExitBlockRule
Heuristic rule to exit current block when user inserts two consecutive newlines.
AutoFormatLinksRule
Applies link format to text segment (which looks like a link) when user inserts space character after it.
AutoFormatMultipleLinksRule
Applies link format to text segments within the inserted text that matches the URL pattern.
AxisDivider
BackgroundAttribute
BaselineProxy
Block
Represents a group of adjacent Lines with the same block style.
BlockEmbed
There are two built-in embed types supported by Quill documents, however the document model itself does not make any assumptions about the types of embedded objects and allows users to define their own types.
BlockQuoteAttribute
BoldAttribute
CatchAllDeleteRule
Fallback rule for delete operations which simply deletes specified text range without any special handling.
CatchAllInsertRule
Fallback rule which simply inserts text as-is without any special handling.
CheckboxPoint
ChildQuery
Result of a child query in a Container.
ClearFormatButton
CodeBlockAttribute
ColorAttribute
ColorText
CursorCont
Controls the cursor of an editable widget.
CursorPainter
Paints the editing cursor.
CursorStyle
Style properties of editing cursor.
CustomBlockEmbed
DefaultListBlockStyle
DefaultStyles
DefaultTextBlockStyle
Style theme applied to a block of rich text, including single-line paragraphs.
DeleteRule
A heuristic rule for delete operations.
Delta
Delta represents a document or a modification of a document as a sequence of insert, delete and retain operations.
DeltaIterator
Specialized iterator for Deltas.
Diff
DirectionAttribute
DocChange
Document
The rich text document
DragTextSelection
internal use, used to get drag direction information
EditableContainerParentData
EditableTextBlock
EditableTextLine
EditorContainer<T extends Node?>
Container can accommodate other nodes.
EditorState
Base interface for the editor state which defines contract used by various mixins.
EditorTextSelectionGestureDetector
A gesture detector to respond to non-exclusive event chains for a text field.
EditorTextSelectionGestureDetectorBuilder
Builds a EditorTextSelectionGestureDetector to wrap an EditableText.
EditorTextSelectionGestureDetectorBuilderDelegate
Delegate interface for the EditorTextSelectionGestureDetectorBuilder.
EditorTextSelectionOverlay
An object that manages a pair of text selection handles.
Embed
An embed node inside of a line in a Quill document.
EmbedBuilder
Embeddable
An object which can be embedded into a Quill document.
EmbedProxy
Emoji
The representation of an emoji. There are three properties availables:
EmojiConst
Constants defined for Emoji.
EmojiMessage
List of pre-defined message used in this library
EmojiParser
Emoji storage and parser. You will need to instantiate one of this instance to start using.
EmojiText
EmojiUtil
Utilities to handle emoji operations.
EnsureEmbedLineRule
Prevents user from merging a line containing an embed with other lines.
EnsureLastLineBreakDeleteRule
EySpecialText
FloatingCursorPainter
Floating painter responsible for painting the floating cursor when floating mode is activated
FontAttribute
FontDialog
FormatLinkAtCaretPositionRule
Allows updating link format with collapsed selection.
FormatRule
A heuristic rule for format (retain) operations.
HeaderAttribute
HeightAttribute
HideSelectionToolbarIntent
History
HistoryButton
HistoryChanged
HistoryStack
ImageAssets
ImageEmbedBuilder
ImageSettingDialogs
ImageTapWrapper
ImageUrl
IndentAttribute
IndentButton
IndentSelectionIntent
InfoSpecialTextSpanBuilder
InlineCodeAttribute
InlineCodeStyle
Theme data for inline code.
InsertEmbedsRule
Handles all format operations which manipulate embeds. This rule wraps line breaks around video, not image.
InsertRule
A heuristic rule for insert operations.
ItalicAttribute
Leaf
A leaf in Quill document tree.
Line
A line of rich text in a Quill document.
LinkAttribute
LinkContent
Author lijinghuan Email:ljh0576123@163.com CreateTime:2023-04-21 Description:Generated file. Do not edit. Modifier: ModifyContent:
LinkDialog
LinkStyleButton
LinkText
ListAttribute
MoveTextSelectionControls
Node
An abstract node in a document tree.
NodeText
A span of formatted text within a line in a Quill document.
OffsetValue<T>
OpenSearchIntent
Operation
Operation performed on a rich-text document.
OptionalSize
PinyinMarkText
PinyinMarkWidget
PlaceholderAttribute
This is custom attribute for hint
PreserveBlockStyleOnInsertRule
Preserves block style when user inserts text containing newlines.
PreserveInlineStylesRule
Preserves inline styles when user inserts text inside formatted segment.
PreserveLineStyleOnMergeRule
Preserves line format when user deletes the line's newline character effectively merging it with the next line.
PreserveLineStyleOnSplitRule
Preserves line format when user splits the line into two.
QuillBulletPoint
QuillCheckboxBuilder
QuillController
QuillCustomButton
QuillDialogTheme
QuillEditor
QuillEditorState
QuillEmbeds
QuillFontFamilyButton
QuillFontSizeButton
QuillIconButton
QuillIconTheme
QuillKeyboardListener
QuillKeyboardListenerState
QuillNumberPoint
QuillPressedKeys
QuillSingleChildScrollView
Very similar to SingleChildView but with a ViewportBuilder argument instead of a Widget
QuillStyles
QuillToolbar
QuillVerticalCaretMovementRun
RawEditor
RawEditorState
RenderAbstractEditor
Base interface for editable render objects.
RenderBaselineProxy
RenderContentProxyBox
A common interface to render boxes which represent a piece of rich text content.
RenderEditableBox
Base class for render boxes of editable content.
RenderEditableContainerBox
Multi-child render box of editable content.
RenderEditableTextBlock
RenderEditableTextLine
RenderEditor
Displays a document as a vertical list of document segments (lines and blocks).
RenderEmbedProxy
RenderParagraphProxy
ResetLineFormatOnNewLineRule
Resets format for a newly inserted line when insert occurred at the end of a line (right before a newline).
ResolveImageFormatRule
Produces Delta with attributes applied to image leaf node
ResolveInlineFormatRule
Produces Delta with inline-level attributes applied to all characters except newlines.
ResolveLineFormatRule
Produces Delta with line-level attributes applied strictly to newline characters.
RichTextEditor
RichTextEditorModel
RichTextModel
RichTextProxy
RichTextSpan
富文本(应用于帖子列表、详情)
RichTextSpanModel
Root
Root node of document tree.
Rule
Rules
ScriptAttribute
SearchButton
SearchDialog
SegmentLeafNode
SelectAlignmentButton
SelectHeaderStyleButton
SizeAttribute
SmallAttribute
StrikeThroughAttribute
Style
StyleAttribute
TagArguments
TagItem
TagText
TextLine
TextSelectionToolbarItemData
TextSpanBuilder
原SpecialTextSpanBuilder不满足link、@标识前后没有空格的情况且结束标识不能通过正则来匹配且开始与结束标识不符;
TextSpanStyle
ToggleCheckListButton
ToggleStyleButton
ToggleTextStyleIntent
TokenAttribute
UnderlineAttribute
UtilityWidgets
Provides utiulity widgets.
VerticalSpacing
ViewUtils
WidthAttribute

Constants

arabianRomanNumbers → const List<int>
imageFileExtensions → const List<String>
kDefaultIconSize → const double
The default size of the icon of a button.
kIconButtonFactor → const double
The factor of how much larger the button is in relation to the icon.
kToolbarSectionSpacing → const double
The horizontal margin between the contents of each toolbar section.
linkPrefixes → const List<String>
romanNumbers → const List<String>

Functions

appendFileExtensionToImageUrl(String url) String
This is a bug of Gallery Saver Package. It can not save image that's filename does not end with it's file extension like below. If imageUrl does not end with it's file extension, file extension is added to image url for saving.
castOrNull<T>(dynamic x) → T?
defaultLinkActionPickerDelegate(BuildContext context, String link, Node node) Future<LinkMenuAction>
defaultToggleStyleButtonBuilder(BuildContext context, Attribute attribute, IconData icon, Color? fillColor, bool? isToggled, VoidCallback? onPressed, VoidCallback? afterPressed, [double iconSize = kDefaultIconSize, QuillIconTheme? iconTheme]) Widget
getAlignment(String? s) Alignment
getDiff(String oldText, String newText, int cursorPosition) Diff
getDirectionOfNode(Node node) TextDirection
getEmbedNode(QuillController controller, int offset) OffsetValue<Embed>
getFontSize(dynamic sizeValue) → dynamic
getImageStyleString(QuillController controller) String
getLinkRange(Node node) TextRange
getPositionDelta(Delta user, Delta actual) int
imageByUrl(String imageUrl, {double? width, double? height, AlignmentGeometry alignment = Alignment.center}) Image
isImageBase64(String imageUrl) bool
localSelection(Node node, TextSelection selection, dynamic fromParent) TextSelection
parseKeyValuePairs(String s, Set<String> targetKeys) Map<String, String>
replaceStyleString(String s, double width, double height) String
standardizeImageUrl(String url) String
stringToColor(String? s, [Color? originalColor]) Color

Typedefs

CustomStyleBuilder = TextStyle Function(Attribute attribute)
DataDecoder = Object? Function(Object data)
Decoder function to convert raw data object into a user-defined data type.
DeleteCallback = void Function(int cursorPosition, bool forward)
EmbedButtonBuilder = Widget Function(QuillController controller, double toolbarIconSize, QuillIconTheme? iconTheme, QuillDialogTheme? dialogTheme)
EmbedsBuilder = EmbedBuilder Function(Embed node)
LinkActionPicker = Future<LinkMenuAction> Function(Node linkNode)
Used internally by widget layer.
LinkActionPickerDelegate = Future<LinkMenuAction> Function(BuildContext context, String link, Node node)
OnCustomWordCall = Widget Function(int index, String word, String pinyin)
OnMoreTagCall = void Function(Map<String, dynamic> extrasMap)
OnTagCall = void Function(String tagKey, Map<String, dynamic> arguments)
QuillEditorContextMenuBuilder = Widget Function(BuildContext context, RawEditorState rawEditorState)
Signature for a widget builder that builds a context menu for the given RawEditorState.
ReplaceTextCallback = bool Function(int index, int len, Object? data)
TextSelectionChangedHandler = void Function(TextSelection selection, SelectionChangedCause cause)
Signature for the callback that reports when the user changes the selection (including the cursor location).
TextSelectionCompletedHandler = void Function()
Signature for the callback that reports when a selection action is actually completed and ratified. Completion is defined as when the user input has concluded for an entire selection action. For simple taps and keyboard input events that change the selection, this callback is invoked immediately following the TextSelectionChangedHandler. For long taps, the selection is considered complete at the up event of a long tap. For drag selections, the selection completes once the drag/pan event ends or is interrupted.
ToggleStyleButtonBuilder = Widget Function(BuildContext context, Attribute attribute, IconData icon, Color? fillColor, bool? isToggled, VoidCallback? onPressed, VoidCallback? afterPressed, [double iconSize, QuillIconTheme? iconTheme])
WidgetWrapper = Widget Function(Widget child)