From f18f2a93f87d6c742e1b7989d41e677fa3cc14b5 Mon Sep 17 00:00:00 2001 From: mark8044 <87546778+mark8044@users.noreply.github.com> Date: Sun, 14 Nov 2021 19:13:23 -0800 Subject: [PATCH] Update toolbar.dart --- lib/src/widgets/toolbar.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/src/widgets/toolbar.dart b/lib/src/widgets/toolbar.dart index 48a71a50..e2f86b4b 100644 --- a/lib/src/widgets/toolbar.dart +++ b/lib/src/widgets/toolbar.dart @@ -60,7 +60,6 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { const QuillToolbar({ required this.children, this.toolBarHeight = 36, - this.toolBarSectionSpacing = 4, this.color, this.filePickImpl, this.multiRowsDisplay, @@ -71,7 +70,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { factory QuillToolbar.basic({ required QuillController controller, double toolbarIconSize = kDefaultIconSize, - double toolBarSectionSpacing, + double toolbarSectionSpacing = 4, bool showBoldButton = true, bool showItalicButton = true, bool showSmallButton = false, @@ -433,7 +432,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { @override Size get preferredSize => Size.fromHeight(toolBarHeight); - double get _toolBarSectionSpacing => toolBarSectionSpacing; + double get _toolBarSectionSpacing => toolbarSectionSpacing; @override Widget build(BuildContext context) {