|
|
@ -439,6 +439,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
Size get preferredSize => Size.fromHeight(toolBarHeight); |
|
|
|
Size get preferredSize => Size.fromHeight(toolBarHeight); |
|
|
|
|
|
|
|
Size get toolBarIconAlignment2 => toolBarIconAlignment; |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
Widget build(BuildContext context) { |
|
|
|
Widget build(BuildContext context) { |
|
|
@ -447,11 +448,11 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { |
|
|
|
child: multiRowsDisplay ?? true |
|
|
|
child: multiRowsDisplay ?? true |
|
|
|
? Wrap( |
|
|
|
? Wrap( |
|
|
|
alignment: |
|
|
|
alignment: |
|
|
|
(toolBarIconAlignment==ToolbarAlignment.left) |
|
|
|
(toolBarIconAlignment2==ToolbarAlignment.left) |
|
|
|
? WrapAlignment.left |
|
|
|
? WrapAlignment.left |
|
|
|
:(toolBarIconAlignment==ToolbarAlignment.center) |
|
|
|
:(toolBarIconAlignment2==ToolbarAlignment.center) |
|
|
|
? WrapAlignment.center |
|
|
|
? WrapAlignment.center |
|
|
|
:(toolBarIconAlignment==ToolbarAlignment.right) |
|
|
|
:(toolBarIconAlignment2==ToolbarAlignment.right) |
|
|
|
? WrapAlignment.right : WrapAlignment.center, |
|
|
|
? WrapAlignment.right : WrapAlignment.center, |
|
|
|
runSpacing: 4, |
|
|
|
runSpacing: 4, |
|
|
|
spacing: toolBarSectionSpacing ?? 4, |
|
|
|
spacing: toolBarSectionSpacing ?? 4, |
|
|
|