Update toolbar.dart

pull/462/head
mark8044 4 years ago committed by GitHub
parent 15f5e9d97f
commit 84b69ac189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      lib/src/widgets/toolbar.dart

@ -446,9 +446,11 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
initialLocale: locale,
child: multiRowsDisplay ?? true
? Wrap(
alignment: (toolBarIconAlignment == ToolbarAlignment.left)
alignment: (toolBarIconAlignment==ToolbarAlignment.left)
? WrapAlignment.left
: (toolBarIconAlignment == ToolbarAlignment.right)
:(toolBarIconAlignment==ToolbarAlignment.center)
? WrapAlignment.center
:(toolBarIconAlignment==ToolbarAlignment.right)
? WrapAlignment.right : WrapAlignment.center,
runSpacing: 4,
spacing: toolBarSectionSpacing ?? 4,

Loading…
Cancel
Save