flutter_quill.extensions library Null safety

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.
ResetLineFormatOnNewLineRule
Resets format for a newly inserted line when insert occurred at the end of a line (right before a newline).

Functions

getAlignment(String? s) Alignment
isAppleOS([TargetPlatform? targetPlatform]) bool
isDesktop([TargetPlatform? targetPlatform]) bool
isIOSSimulator() Future<bool>
isKeyboardOS([TargetPlatform? targetPlatform]) bool
isMobile([TargetPlatform? targetPlatform]) bool
parseKeyValuePairs(String s, Set<String> targetKeys) Map<String, String>
replaceStyleString(String s, double width, double height) String