@@ -281,7 +281,8 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
281
281
webVideoPickImpl: webVideoPickImpl,
282
282
iconTheme: iconTheme,
283
283
),
284
- if (showDividers && isButtonGroupShown[0 ] &&
284
+ if (showDividers &&
285
+ isButtonGroupShown[0 ] &&
285
286
(isButtonGroupShown[1 ] ||
286
287
isButtonGroupShown[2 ] ||
287
288
isButtonGroupShown[3 ] ||
@@ -302,7 +303,8 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
302
303
showRightAlignment: showRightAlignment,
303
304
showJustifyAlignment: showJustifyAlignment,
304
305
),
305
- if (showDividers && isButtonGroupShown[1 ] &&
306
+ if (showDividers &&
307
+ isButtonGroupShown[1 ] &&
306
308
(isButtonGroupShown[2 ] ||
307
309
isButtonGroupShown[3 ] ||
308
310
isButtonGroupShown[4 ] ||
@@ -318,7 +320,9 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
318
320
iconSize: toolbarIconSize,
319
321
iconTheme: iconTheme,
320
322
),
321
- if (showDividers && showHeaderStyle && isButtonGroupShown[2 ] &&
323
+ if (showDividers &&
324
+ showHeaderStyle &&
325
+ isButtonGroupShown[2 ] &&
322
326
(isButtonGroupShown[3 ] ||
323
327
isButtonGroupShown[4 ] ||
324
328
isButtonGroupShown[5 ]))
@@ -359,7 +363,8 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
359
363
iconSize: toolbarIconSize,
360
364
iconTheme: iconTheme,
361
365
),
362
- if (showDividers && isButtonGroupShown[3 ] &&
366
+ if (showDividers &&
367
+ isButtonGroupShown[3 ] &&
363
368
(isButtonGroupShown[4 ] || isButtonGroupShown[5 ]))
364
369
VerticalDivider (
365
370
indent: 12 ,
0 commit comments