Skip to content

Commit 137ed5c

Browse files
author
Ellet
committed
docs: Update todo and fix typo
1 parent f5bcaa8 commit 137ed5c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/todo.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ This is a todo list page that added recently and will be updated soon.
2828
- Provide more support to all the platforms
2929
- Extract the shared properties between `QuillRawEditorConfigurations` and `QuillEditorConfigurations`
3030
- The todo in the this [commit](https://github.com/singerdmx/flutter-quill/commit/79597ea6425357795c0663588ac079665241f23a) needs to be checked
31+
- use `maybeOf` and of instead `ofNotNull` in the providers to follow flutter offical convenstion, completly rework the providers and update the build context extensions
3132

3233
### Bugs
3334

lib/src/extensions/quill_provider.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ extension QuillProviderExt on BuildContext {
138138
return quillToolbarConfigurations?.buttonOptions.base ??
139139
quillBaseToolbarConfigurations?.buttonOptions.base ??
140140
(throw ArgumentError(
141-
"The buttonOptions is required and it's required",
141+
"The buttonOptions is required and it's null because the toolbar configurations is.",
142142
));
143143
}
144144

0 commit comments

Comments
 (0)