QuillSimpleToolbarConfigurations class
The configurations for the toolbar widget of flutter quill
- Annotations
Constructors
-
QuillSimpleToolbarConfigurations({@Deprecated('controller should be passed directly to the toolbar - this parameter will be removed in future versions.') QuillController? controller, double toolbarSectionSpacing = kToolbarSectionSpacing, WrapAlignment toolbarIconAlignment = WrapAlignment.center, WrapCrossAlignment toolbarIconCrossAlignment = WrapCrossAlignment.center, QuillSimpleToolbarButtonOptions buttonOptions = const QuillSimpleToolbarButtonOptions(), List<
QuillToolbarCustomButtonOptions> customButtons = const [], Map<String, String> ? fontFamilyValues, bool multiRowsDisplay = true, Map<String, String> ? fontSizesValues, 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, bool showClipboardCut = true, bool showClipboardCopy = true, bool showClipboardPaste = true, LinkStyleType linkStyleType = LinkStyleType.original, HeaderStyleType headerStyleType = HeaderStyleType.original, SearchButtonType searchButtonType = SearchButtonType.modern, Decoration? decoration, List<EmbedButtonBuilder> ? embedButtons, LinkDialogAction? linkDialogAction, QuillDialogTheme? dialogTheme, Axis axis = Axis.horizontal, Color? color, Color? sectionDividerColor, double? sectionDividerSpace, double? toolbarSize}) -
const
Properties
- axis → Axis
-
finalinherited
-
If you want change spesefic buttons or all of them
then you came to the right place
finalinherited
- color → Color?
-
The color of the toolbar.
finalinherited
- controller → QuillController?
-
final
-
customButtons
→ List<
QuillToolbarCustomButtonOptions> -
List of custom buttons
final
- decoration → Decoration?
-
The decoration to use for the toolbar.
finalinherited
- dialogTheme → QuillDialogTheme?
-
The theme to use for the theming of the
LinkDialog()
, shown when embedding an image, for examplefinal -
embedButtons
→ List<
EmbedButtonBuilder> ? -
Toolbar items to display for controls of embed blocks
final
-
fontFamilyValues
→ Map<
String, String> ? -
final
-
fontSizesValues
→ Map<
String, String> ? -
By default it will be
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerStyleType → HeaderStyleType
-
Defines which dialog is used for applying header attribute.
final
- linkDialogAction → LinkDialogAction?
-
finalinherited
- 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
finalinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchButtonType → SearchButtonType
-
Define which button type should be used for the showSearchButton
final
- sectionDividerColor → Color?
-
The color to use when painting the toolbar section divider.
finalinherited
- sectionDividerSpace → double?
-
The space occupied by toolbar section divider.
finalinherited
-
finalinherited
- 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 Jsfinal - showLink → bool
-
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
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - toolbarIconAlignment → WrapAlignment
-
finalinherited
- toolbarIconCrossAlignment → WrapCrossAlignment
-
finalinherited
- toolbarRunSpacing → double
-
finalinherited
- toolbarSectionSpacing → double
-
Only works if
multiRowsDisplay
istrue
finalinherited - toolbarSize → double
-
The toolbar size, by default it will be
baseButtonOptions.iconSize * 2
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