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? cssAlignment) Alignment
Get flutter Alignment value by cssAlignment
getTextAlign(String value) TextAlign?
isAndroid({required bool supportWeb, TargetPlatform? platform, bool? overrideIsWeb}) bool
supportWeb is a parameter that ask you if we should care about web support if the value is true then we will return the result no matter if we are on web or using a native app to run the flutter app
isAppleOS({required bool supportWeb, TargetPlatform? platform, bool? overrideIsWeb}) bool
supportWeb is a parameter that ask you if we should care about web support if the value is true then we will return the result no matter if we are on web or using a native app to run the flutter app
isDesktop({required bool supportWeb, TargetPlatform? platform, bool? overrideIsWeb}) bool
supportWeb is a parameter that ask you if we should care about web support if the value is true then we will return the result no matter if we are on web or using a native app to run the flutter app
isFlutterTest({bool? overrideIsWeb}) bool
isIOS({required bool supportWeb, TargetPlatform? platform, bool? overrideIsWeb}) bool
supportWeb is a parameter that ask you if we should care about web support if the value is true then we will return the result no matter if we are on web or using a native app to run the flutter app
isIOSSimulator({bool? overrideIsWeb}) Future<bool>
isKeyboardOS({required bool supportWeb, TargetPlatform? platform, bool? overrideIsWeb}) bool
supportWeb is a parameter that ask you if we should care about web support if the value is true then we will return the result no matter if we are on web or using a native app to run the flutter app
isMacOS({required bool supportWeb, TargetPlatform? platform, bool? overrideIsWeb}) bool
supportWeb is a parameter that ask you if we should care about web support if the value is true then we will return the result no matter if we are on web or using a native app to run the flutter app
isMobile({required bool supportWeb, TargetPlatform? platform, bool? overrideIsWeb}) bool
supportWeb is a parameter that ask you if we should care about web support if the value is true then we will return the result no matter if we are on web or using a native app to run the flutter app
isWeb({bool? overrideIsWeb}) bool
If you want to override the kIsWeb use overrideIsWeb but it's only for testing
parseKeyValuePairs(String s, Set<String> targetKeys) Map<String, String>

Typedefs

WidgetWrapper = Widget Function(Widget child)