From c3fe37ae63c5f1c409d1f24064b8b2229d54eb00 Mon Sep 17 00:00:00 2001 From: mark8044 <87546778+mark8044@users.noreply.github.com> Date: Sun, 14 Nov 2021 08:47:23 -0800 Subject: [PATCH] Update toolbar.dart --- lib/src/widgets/toolbar.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/widgets/toolbar.dart b/lib/src/widgets/toolbar.dart index 9d74ca45..3836b4b8 100644 --- a/lib/src/widgets/toolbar.dart +++ b/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] ||