Skip to content

Commit

Permalink
docs: Update todo and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellet committed Dec 2, 2023
1 parent f5bcaa8 commit 137ed5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ This is a todo list page that added recently and will be updated soon.
- Provide more support to all the platforms
- Extract the shared properties between `QuillRawEditorConfigurations` and `QuillEditorConfigurations`
- The todo in the this [commit](https://github.com/singerdmx/flutter-quill/commit/79597ea6425357795c0663588ac079665241f23a) needs to be checked
- use `maybeOf` and of instead `ofNotNull` in the providers to follow flutter offical convenstion, completly rework the providers and update the build context extensions

### Bugs

Expand Down
2 changes: 1 addition & 1 deletion lib/src/extensions/quill_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ extension QuillProviderExt on BuildContext {
return quillToolbarConfigurations?.buttonOptions.base ??
quillBaseToolbarConfigurations?.buttonOptions.base ??
(throw ArgumentError(
"The buttonOptions is required and it's required",
"The buttonOptions is required and it's null because the toolbar configurations is.",
));
}

Expand Down

0 comments on commit 137ed5c

Please sign in to comment.