QuillEditorConfigurations: Error: No named parameter with the name 'readOnly'
maxfornacon opened this issue · comments
Is there an existing issue for this?
- I have searched the existing issues
Flutter Quill version
9.3.10
Steps to reproduce
Upgrade to version 9.3.10 from 9.3.9
Expected results
Since no breaking change is mentioned in changelog I wouldn't expect anything to break.
Actual results
It throws an error Error: No named parameter with the name 'readOnly'
.
Code sample
Code sample
QuillEditorConfigurations(
controller: _controller,
readOnly: false,
sharedConfigurations: const QuillSharedConfigurations(
locale: Locale('de'),
),
),
Screenshots or Video
No response
Logs
No response
the setting moved from configuration to controller, now you can set your readonly state in the controller
the setting moved from configuration to controller, now you can set your readonly state in the controller
can you show an example code, please
Code is shown in the example application
quill_screen.dart Line 62:
_controller.readOnly = _isReadOnly;
Originally was set in QuillEditorConfigurations( readOnly: _isReadOnly (quill_screen.dart line 150-ish)
Code is shown in the example application
The readme should be updated too.
Changes like this should be announced by being marked as deprecated and should be mentioned in the changelog.