|
|
@ -85,15 +85,18 @@ and then embed the toolbar and the editor, within your app. For example: |
|
|
|
|
|
|
|
|
|
|
|
```dart |
|
|
|
```dart |
|
|
|
QuillProvider( |
|
|
|
QuillProvider( |
|
|
|
configurations: QuillConfigurations(controller: _controller), |
|
|
|
configurations: QuillConfigurations( |
|
|
|
|
|
|
|
controller: _controller, |
|
|
|
|
|
|
|
editorConfigurations: QuillEditorConfigurations( |
|
|
|
|
|
|
|
readOnly: _isReadonly, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
child: Column( |
|
|
|
child: Column( |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
QuillToolbar.basic(), |
|
|
|
QuillToolbar.basic(), |
|
|
|
Expanded( |
|
|
|
Expanded( |
|
|
|
child: Container( |
|
|
|
child: Container( |
|
|
|
child: QuillEditor.basic( |
|
|
|
child: QuillEditor.basic(), |
|
|
|
readOnly: false, // true for view only mode |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
) |
|
|
|
) |
|
|
|
], |
|
|
|
], |
|
|
|