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,