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.
CatchAllInsertRule
Fallback rule which simply inserts text as-is without any special handling.
Embed
An embed node inside of a line in a Quill document.
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.
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).
UtilityWidgets
Provides utiulity widgets.

Functions

getAlignment(String? s) Alignment
isAndroid([TargetPlatform? targetPlatform]) bool
isAppleOS([TargetPlatform? targetPlatform]) bool
isDesktop([TargetPlatform? targetPlatform]) bool
isFlutterTest() bool
isIOS([TargetPlatform? targetPlatform]) bool
isIOSSimulator() Future<bool>
isKeyboardOS([TargetPlatform? targetPlatform]) bool
isMacOS([TargetPlatform? targetPlatform]) bool
isMobile([TargetPlatform? targetPlatform]) bool
isWeb() bool
parseKeyValuePairs(String s, Set<String> targetKeys) Map<String, String>
replaceStyleString(String s, double width, double height) String
replaceStyleStringWithSize(String s, {required double width, required double height, required bool isMobile}) String

Typedefs

WidgetWrapper = Widget Function(Widget child)