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