Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoEllet authored Oct 23, 2023
1 parent 04a391a commit 0f6a505
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,18 @@ and then embed the toolbar and the editor, within your app. For example:

```dart
QuillProvider(
configurations: QuillConfigurations(controller: _controller),
configurations: QuillConfigurations(
controller: _controller,
editorConfigurations: QuillEditorConfigurations(
readOnly: _isReadonly,
),
),
child: Column(
children: [
QuillToolbar.basic(),
Expanded(
child: Container(
child: QuillEditor.basic(
readOnly: false, // true for view only mode
),
child: QuillEditor.basic(),
),
)
],
Expand Down

0 comments on commit 0f6a505

Please sign in to comment.