QuillToolbar class Null safety
- Inheritance
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- QuillToolbar
- Implemented types
Constructors
-
QuillToolbar({required List<
Widget> children, double toolbarHeight = 36, WrapAlignment toolbarIconAlignment = WrapAlignment.center, double toolbarSectionSpacing = 4, bool multiRowsDisplay = true, Color? color, FilePickImpl? filePickImpl, List<QuillCustomIcon> customIcons = const [], Locale? locale, Key? key}) -
const
-
QuillToolbar.basic({required QuillController controller, double toolbarIconSize = kDefaultIconSize, double toolbarSectionSpacing = 4, WrapAlignment toolbarIconAlignment = WrapAlignment.center, bool showDividers = true, bool showFontSize = true, bool showBoldButton = true, bool showItalicButton = true, bool showSmallButton = false, bool showUnderLineButton = true, 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 multiRowsDisplay = true, bool showImageButton = true, bool showVideoButton = true, bool showCameraButton = true, bool showDirection = false, OnImagePickCallback? onImagePickCallback, OnVideoPickCallback? onVideoPickCallback, MediaPickSettingSelector? mediaPickSettingSelector, FilePickImpl? filePickImpl, WebImagePickImpl? webImagePickImpl, WebVideoPickImpl? webVideoPickImpl, List<
QuillCustomIcon> customIcons = const [], Map<String, String> ? fontSizeValues, QuillIconTheme? iconTheme, QuillDialogTheme? dialogTheme, Locale? locale, Key? key}) -
factory
Properties
-
children
→ List<
Widget> -
final
- color → Color?
-
The color of the toolbar. [...]
final
-
customIcons
→ List<
QuillCustomIcon> -
List of custom icons
final
- filePickImpl → FilePickImpl?
-
final
- hashCode → int
-
The hash code for this object. [...]
@nonVirtual, read-only, inherited
- key → Key?
-
Controls how one widget replaces another widget in the tree. [...]
final, inherited
- locale → Locale?
-
The locale to use for the editor toolbar, defaults to system locale
More https://github.com/singerdmx/flutter-quill#translation
final
- multiRowsDisplay → bool
-
final
- preferredSize → Size
-
The size this widget would prefer if it were otherwise unconstrained. [...]
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- toolbarHeight → double
-
final
- toolbarIconAlignment → WrapAlignment
-
final
- toolbarSectionSpacing → 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. [...]@protected, inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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. [...]
@nonVirtual, inherited