|
|
@ -17,8 +17,8 @@ To add an Icon, we should use a new `QuillToolbarCustomButtonOptions` class |
|
|
|
Each `QuillCustomButton` is used as part of the `customButtons` option as follows: |
|
|
|
Each `QuillCustomButton` is used as part of the `customButtons` option as follows: |
|
|
|
|
|
|
|
|
|
|
|
```dart |
|
|
|
```dart |
|
|
|
QuillToolbar( |
|
|
|
QuillToolbar.simple( |
|
|
|
configurations: QuillToolbarConfigurations( |
|
|
|
configurations: QuillSimpleToolbarConfigurations( |
|
|
|
customButtons: [ |
|
|
|
customButtons: [ |
|
|
|
QuillToolbarCustomButtonOptions( |
|
|
|
QuillToolbarCustomButtonOptions( |
|
|
|
icon: const Icon(Icons.ac_unit), |
|
|
|
icon: const Icon(Icons.ac_unit), |
|
|
|