QuillSimpleToolbarConfig class

The configurations for the toolbar widget of flutter quill

Annotations

Constructors

QuillSimpleToolbarConfig.new({double toolbarSectionSpacing = kToolbarSectionSpacing, WrapAlignment toolbarIconAlignment = WrapAlignment.center, WrapCrossAlignment toolbarIconCrossAlignment = WrapCrossAlignment.center, QuillSimpleToolbarButtonOptions buttonOptions = const QuillSimpleToolbarButtonOptions(), List<QuillToolbarCustomButtonOptions> customButtons = const [], bool multiRowsDisplay = true, bool showDividers = true, bool showFontFamily = true, bool showFontSize = true, bool showBoldButton = true, bool showItalicButton = true, bool showSmallButton = false, bool showUnderLineButton = true, bool showLineHeightButton = false, bool showStrikeThrough = true, bool showInlineCode = true, bool showColorButton = true, bool showBackgroundColorButton = true, bool showClearFormat = true, bool showAlignmentButtons = false, bool showLeftAlignment = true, bool showCenterAlignment = true, bool showRightAlignment = true, bool showJustifyAlignment = true, bool showHeaderStyle = true, bool showListNumbers = true, bool showListBullets = true, bool showListCheck = true, bool showCodeBlock = true, bool showQuote = true, bool showIndent = true, bool showLink = true, bool showUndo = true, bool showRedo = true, bool showDirection = false, bool showSearchButton = true, bool showSubscript = true, bool showSuperscript = true, @experimental bool showClipboardCut = false, @experimental bool showClipboardCopy = false, @experimental bool showClipboardPaste = false, LinkStyleType linkStyleType = LinkStyleType.original, HeaderStyleType headerStyleType = HeaderStyleType.original, Decoration? decoration, List<EmbedButtonBuilder>? embedButtons, LinkDialogAction? linkDialogAction, QuillDialogTheme? dialogTheme, QuillIconTheme? iconTheme, Axis axis = Axis.horizontal, Color? color, Color? sectionDividerColor, double? sectionDividerSpace, double? toolbarSize, double toolbarRunSpacing = 4})
const

Properties

axis Axis
final
buttonOptions QuillSimpleToolbarButtonOptions
If you want change spesefic buttons or all of them then you came to the right place
final
color Color?
The color of the toolbar.
final
customButtons List<QuillToolbarCustomButtonOptions>
List of custom buttons
final
decoration Decoration?
The decoration to use for the toolbar.
final
dialogTheme QuillDialogTheme?
final
embedButtons List<EmbedButtonBuilder>?
Toolbar items to display for controls of embed blocks
final
hashCode int
The hash code for this object.
no setterinherited
headerStyleType HeaderStyleType
Defines which dialog is used for applying header attribute.
final
iconTheme QuillIconTheme?
final
linkDialogAction LinkDialogAction?
final
linkStyleType LinkStyleType
Defines which dialog is used for applying link attribute.
final
multiRowsDisplay bool
If you want the toolbar to not be a multiple rows pass false
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sectionDividerColor Color?
The color to use when painting the toolbar section divider.
final
sectionDividerSpace double?
The space occupied by toolbar section divider.
final
showAlignmentButtons bool
final
showBackgroundColorButton bool
final
showBoldButton bool
final
showCenterAlignment bool
final
showClearFormat bool
final
showClipboardCopy bool
final
showClipboardCut bool
final
showClipboardPaste bool
final
showCodeBlock bool
final
showColorButton bool
final
showDirection bool
final
showDividers bool
final
showFontFamily bool
final
showFontSize bool
final
showHeaderStyle bool
final
showIndent bool
final
showInlineCode bool
final
showItalicButton bool
final
showJustifyAlignment bool
final
showLeftAlignment bool
final
showLineHeightButton bool
This activates a functionality that is only implemented in flutter_quill and is NOT originally used in the Quill Js API. So it could cause conflicts if you use this attribute with the original Delta format of Quill Js
final
final
showListBullets bool
final
showListCheck bool
final
showListNumbers bool
final
showQuote bool
final
showRedo bool
final
showRightAlignment bool
final
showSearchButton bool
final
showSmallButton bool
final
showStrikeThrough bool
final
showSubscript bool
final
showSuperscript bool
final
showUnderLineButton bool
final
showUndo bool
final
toolbarIconAlignment WrapAlignment
final
toolbarIconCrossAlignment WrapCrossAlignment
final
toolbarRunSpacing double
final
toolbarSectionSpacing double
Only works if multiRowsDisplay is true
final
toolbarSize double
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited