From 937cd0b09ea59a1568d96c2314a941b5c4e46d04 Mon Sep 17 00:00:00 2001 From: mark8044 <87546778+mark8044@users.noreply.github.com> Date: Sun, 14 Nov 2021 09:39:59 -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 04c2c102..74bf91c9 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 showLeftAlignment = true, bool showCenterAlignment = true, bool showRightAlignment = true, bool showJustifyAlignment = true, @@ -133,6 +134,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { onImagePickCallback != null || onVideoPickCallback != null, showAlignmentButtons, + showLeftAlignment, showCenterAlignment, showRightAlignment, showJustifyAlignment, @@ -288,6 +290,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { controller: controller, iconSize: toolbarIconSize, iconTheme: iconTheme, + showLeftAlignment: showLeftAlignment, showCenterAlignment: showCenterAlignment, showRightAlignment: showRightAlignment, showJustifyAlignment: showJustifyAlignment,