Update toolbar.dart

pull/459/head
mark8044 5 years ago committed by GitHub
parent 283ea4e0fb
commit c3fe37ae63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lib/src/widgets/toolbar.dart

@ -79,6 +79,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
bool showBackgroundColorButton = true,
bool showClearFormat = true,
bool showAlignmentButtons = false,
bool showJustifyAlignment = false,
bool showHeaderStyle = true,
bool showListNumbers = true,
bool showListBullets = true,
@ -130,6 +131,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
onImagePickCallback != null ||
onVideoPickCallback != null,
showAlignmentButtons,
showJustifyAlignment,
showHeaderStyle,
showListNumbers || showListBullets || showListCheck || showCodeBlock,
showQuote || showIndent,
@ -282,6 +284,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
controller: controller,
iconSize: toolbarIconSize,
iconTheme: iconTheme,
showJustifyAlignment: showJustifyAlignment
),
if (isButtonGroupShown[1] &&
(isButtonGroupShown[2] ||

Loading…
Cancel
Save