|
|
|
@ -133,6 +133,16 @@ class QuillSimpleToolbar extends StatelessWidget |
|
|
|
|
), |
|
|
|
|
spacerWidget, |
|
|
|
|
], |
|
|
|
|
if (configurations.showStrikeThrough) ...[ |
|
|
|
|
QuillToolbarToggleStyleButton( |
|
|
|
|
attribute: Attribute.strikeThrough, |
|
|
|
|
options: toolbarConfigurations.buttonOptions.strikeThrough, |
|
|
|
|
controller: |
|
|
|
|
toolbarConfigurations.buttonOptions.strikeThrough.controller ?? |
|
|
|
|
globalController, |
|
|
|
|
), |
|
|
|
|
spacerWidget, |
|
|
|
|
], |
|
|
|
|
if (configurations.showInlineCode) ...[ |
|
|
|
|
QuillToolbarToggleStyleButton( |
|
|
|
|
attribute: Attribute.inlineCode, |
|
|
|
@ -172,16 +182,6 @@ class QuillSimpleToolbar extends StatelessWidget |
|
|
|
|
), |
|
|
|
|
spacerWidget, |
|
|
|
|
], |
|
|
|
|
if (configurations.showStrikeThrough) ...[ |
|
|
|
|
QuillToolbarToggleStyleButton( |
|
|
|
|
attribute: Attribute.strikeThrough, |
|
|
|
|
options: toolbarConfigurations.buttonOptions.strikeThrough, |
|
|
|
|
controller: |
|
|
|
|
toolbarConfigurations.buttonOptions.strikeThrough.controller ?? |
|
|
|
|
globalController, |
|
|
|
|
), |
|
|
|
|
spacerWidget, |
|
|
|
|
], |
|
|
|
|
if (configurations.showColorButton) ...[ |
|
|
|
|
QuillToolbarColorButton( |
|
|
|
|
controller: toolbarConfigurations.buttonOptions.color.controller ?? |
|
|
|
|