From 1ad5d141cc6fef040603206b442583a3d9e8a083 Mon Sep 17 00:00:00 2001 From: mark8044 <87546778+mark8044@users.noreply.github.com> Date: Sun, 14 Nov 2021 09:27:37 -0800 Subject: [PATCH] Update select_alignment_button.dart --- lib/src/widgets/toolbar/select_alignment_button.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/widgets/toolbar/select_alignment_button.dart b/lib/src/widgets/toolbar/select_alignment_button.dart index 94340704..a987d24a 100644 --- a/lib/src/widgets/toolbar/select_alignment_button.dart +++ b/lib/src/widgets/toolbar/select_alignment_button.dart @@ -67,7 +67,7 @@ class _SelectAlignmentButtonState extends State { final theme = Theme.of(context); - final buttonCount = 2 + ((widget.showRightAlignment) ? 1 : 0) + ((widget.showJustifyAlignment) ? 1 : 0); + final buttonCount = 2 + ((widget.showRightAlignment?) ? 1 : 0) + ((widget.showJustifyAlignment?) ? 1 : 0); return Row( mainAxisSize: MainAxisSize.min,