From 8b4b90e39859bfbc84d5db071209bc92cc94f1b1 Mon Sep 17 00:00:00 2001 From: Ellet Date: Tue, 12 Dec 2023 13:38:31 +0300 Subject: [PATCH] Remove reference to the quill provider --- README.md | 1 - flutter_quill_extensions/README.md | 31 ------------------------------ 2 files changed, 32 deletions(-) diff --git a/README.md b/README.md index c946aefe..34ec54f3 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,6 @@ QuillController _controller = QuillController.basic(); And then use the `QuillEditor`, `QuillToolbar` widgets, connect the `QuillController` to them -using `QuillProvider` inherited widget ```dart QuillToolbar.simple( diff --git a/flutter_quill_extensions/README.md b/flutter_quill_extensions/README.md index 26d2fb02..c1cab88a 100644 --- a/flutter_quill_extensions/README.md +++ b/flutter_quill_extensions/README.md @@ -93,37 +93,6 @@ Expanded( ) ``` -They both should have a parent `QuillProvider` in the widget tree and set properly
-Example: - -```dart -QuillProvider( - configurations: QuillConfigurations( - controller: _controller, - sharedConfigurations: const QuillSharedConfigurations(), - ), - child: Column( - children: [ - QuillToolbar( - configurations: QuillToolbarConfigurations( - embedButtons: FlutterQuillEmbeds.toolbarButtons( - imageButtonOptions: QuillToolbarImageButtonOptions(), - ), - ), - ), - Expanded( - child: QuillEditor.basic( - configurations: QuillEditorConfigurations( - padding: const EdgeInsets.all(16), - embedBuilders: kIsWeb ? FlutterQuillEmbeds.editorWebBuilders() : FlutterQuillEmbeds.editorBuilders(), - ), - ), - ) - ], - ), -) -``` - ## Embed Blocks As of version [flutter_quill](https://pub.dev/packages/flutter_quill) 6.0, embed blocks are not provided by default as part of Flutter quill. Instead, it provides an interface for all the users to provide their implementations for embed blocks. Implementations for image, video, and formula embed blocks are proved in this package