extensions library
Classes
- 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.
- 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.
- DeleteRule
- A heuristic rule for delete operations.
- Embed
- An embed node inside of a line in a Quill document.
- EnsureEmbedLineRule
- Prevents user from merging a line containing an embed with other lines. This rule applies to video, not image. The rule relates to InsertEmbedsRule.
- EnsureLastLineBreakDeleteRule
- FormatLinkAtCaretPositionRule
- Allows updating link format with collapsed selection.
- FormatRule
- A heuristic rule for format (retain) operations.
- InsertEmbedsRule
- Handles all format operations which manipulate embeds. This rule wraps line breaks around video, not image.
- InsertRule
- A heuristic rule for insert operations.
- Leaf
- A leaf in Quill document tree.
- 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.
- QuillText
- A span of formatted text within a line in a Quill document.
- 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.
- Rule
- Rules
- UtilityWidgets
- Provides utiulity widgets.
Enums
Extensions
Properties
- isAndroid → bool
-
no setter
- isAndroidApp → bool
-
no setter
- isAppleOS → bool
-
no setter
- isAppleOSApp → bool
-
no setter
- isDesktop → bool
-
no setter
- isDesktopApp → bool
-
no setter
- isFlutterTest → bool
-
Should check if kIsWeb is
false
before checking if this is a test.no setter - isIos → bool
-
no setter
- isIosApp → bool
-
no setter
- isKeyboardOS → bool
-
no setter
- isMacOS → bool
-
no setter
- isMacOSApp → bool
-
no setter
- isMobile → bool
-
no setter
- isMobileApp → bool
-
no setter
Functions
-
getAlignment(
String? cssAlignment) → Alignment -
Get flutter Alignment value by
cssAlignment
-
getTextAlign(
String value) → TextAlign? -
isIOSSimulator(
) → Future< bool> -
parseKeyValuePairs(
String s, Set< String> targetKeys) → Map<String, String>
Typedefs
- WidgetWrapper = Widget Function(Widget child)