QuillToolbar class

Inheritance
Implemented types

Constructors

QuillToolbar({required List<Widget> children, Axis axis = Axis.horizontal, double toolbarSize = kDefaultIconSize * 2, double toolbarSectionSpacing = kToolbarSectionSpacing, WrapAlignment toolbarIconAlignment = WrapAlignment.center, WrapCrossAlignment toolbarIconCrossAlignment = WrapCrossAlignment.center, Color? color, List<QuillCustomButton> customButtons = const [], Locale? locale, VoidCallback? afterButtonPressed, Color? sectionDividerColor, double? sectionDividerSpace, Key? key})
const
QuillToolbar.basic({required QuillController controller, Axis axis = Axis.horizontal, double toolbarIconSize = kDefaultIconSize, double toolbarSectionSpacing = kToolbarSectionSpacing, WrapAlignment toolbarIconAlignment = WrapAlignment.center, WrapCrossAlignment toolbarIconCrossAlignment = WrapCrossAlignment.center, bool showDividers = true, bool showFontFamily = true, bool showFontSize = true, bool showBoldButton = true, bool showItalicButton = true, bool showSmallButton = false, bool showUnderLineButton = true, bool showStrikeThrough = true, bool showInlineCode = 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, List<QuillCustomButton> customButtons = const [], Map<String, String>? fontSizeValues, Map<String, String>? fontFamilyValues, List<EmbedButtonBuilder>? embedButtons, QuillIconTheme? iconTheme, QuillDialogTheme? dialogTheme, VoidCallback? afterButtonPressed, Map<ToolbarButtons, String>? tooltips, Locale? locale, Color? color, Color? sectionDividerColor, double? sectionDividerSpace, Key? key})
factory

Properties

axis Axis
final
children List<Widget>
final
color Color?
The color of the toolbar.
final
customButtons List<QuillCustomButton>
List of custom buttons
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
locale Locale?
The locale to use for the editor toolbar, defaults to system locale More https://github.com/singerdmx/flutter-quill#translation
final
preferredSize Size
The size this widget would prefer if it were otherwise unconstrained.
no setteroverride
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
toolbarIconAlignment WrapAlignment
final
toolbarIconCrossAlignment WrapCrossAlignment
final
toolbarSectionSpacing double
final
toolbarSize double
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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