From 15f5e9d97f9ecbf1bdc58c5f339043a0e9fe17ee Mon Sep 17 00:00:00 2001 From: mark8044 <87546778+mark8044@users.noreply.github.com> Date: Sun, 14 Nov 2021 20:38:37 -0800 Subject: [PATCH] Update toolbar.dart --- lib/src/widgets/toolbar.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/widgets/toolbar.dart b/lib/src/widgets/toolbar.dart index cdc9b383..86686861 100644 --- a/lib/src/widgets/toolbar.dart +++ b/lib/src/widgets/toolbar.dart @@ -154,6 +154,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { key: key, toolBarHeight: toolbarIconSize * 2, toolBarSectionSpacing: toolBarSectionSpacing, + toolBarIconAlignment: toolBarIconAlignment, multiRowsDisplay: multiRowsDisplay, locale: locale, children: [ @@ -448,7 +449,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { alignment: (toolBarIconAlignment == ToolbarAlignment.left) ? WrapAlignment.left : (toolBarIconAlignment == ToolbarAlignment.right) - ? WrapAlignment.right : WrapAlignment.center + ? WrapAlignment.right : WrapAlignment.center, runSpacing: 4, spacing: toolBarSectionSpacing ?? 4, children: children,