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, key: key,
toolBarHeight: toolbarIconSize * 2, toolBarHeight: toolbarIconSize * 2,
toolBarSectionSpacing: toolBarSectionSpacing, toolBarSectionSpacing: toolBarSectionSpacing,
toolBarIconAlignment: toolBarIconAlignment,
multiRowsDisplay: multiRowsDisplay, multiRowsDisplay: multiRowsDisplay,
locale: locale, locale: locale,
children: [ children: [
@ -448,7 +449,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
alignment: (toolBarIconAlignment == ToolbarAlignment.left) alignment: (toolBarIconAlignment == ToolbarAlignment.left)
? WrapAlignment.left ? WrapAlignment.left
: (toolBarIconAlignment == ToolbarAlignment.right) : (toolBarIconAlignment == ToolbarAlignment.right)
? WrapAlignment.right : WrapAlignment.center ? WrapAlignment.right : WrapAlignment.center,
runSpacing: 4, runSpacing: 4,
spacing: toolBarSectionSpacing ?? 4, spacing: toolBarSectionSpacing ?? 4,
children: children, children: children,

Loading…
Cancel
Save