From 1ae117572282732f8f54d08d1a070bbe6b0de21d Mon Sep 17 00:00:00 2001 From: mark8044 <87546778+mark8044@users.noreply.github.com> Date: Sun, 14 Nov 2021 09:17:43 -0800 Subject: [PATCH] Update toolbar.dart --- lib/src/widgets/toolbar.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/src/widgets/toolbar.dart b/lib/src/widgets/toolbar.dart index 3836b4b8..776419d8 100644 --- a/lib/src/widgets/toolbar.dart +++ b/lib/src/widgets/toolbar.dart @@ -79,7 +79,8 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { bool showBackgroundColorButton = true, bool showClearFormat = true, bool showAlignmentButtons = false, - bool showJustifyAlignment = false, + bool showJustifyAlignment = true, + bool showRightAlignment = true, bool showHeaderStyle = true, bool showListNumbers = true, bool showListBullets = true, @@ -132,6 +133,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { onVideoPickCallback != null, showAlignmentButtons, showJustifyAlignment, + showRightAlignment, showHeaderStyle, showListNumbers || showListBullets || showListCheck || showCodeBlock, showQuote || showIndent, @@ -284,7 +286,8 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { controller: controller, iconSize: toolbarIconSize, iconTheme: iconTheme, - showJustifyAlignment: showJustifyAlignment + showJustifyAlignment: showJustifyAlignment, + showRightAlignment: showRightAlignment ), if (isButtonGroupShown[1] && (isButtonGroupShown[2] ||