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] ||