Update toolbar.dart

pull/462/head
mark8044 4 years ago committed by GitHub
parent cf9cf6f3ce
commit 15f5e9d97f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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,

Loading…
Cancel
Save