|
|
|
@ -33,6 +33,7 @@ class QuillEditorConfigurations extends Equatable { |
|
|
|
|
this.expands = false, |
|
|
|
|
this.placeholder, |
|
|
|
|
this.readOnly = false, |
|
|
|
|
this.checkBoxReadOnly, |
|
|
|
|
this.disableClipboard = false, |
|
|
|
|
this.textSelectionThemeData, |
|
|
|
|
this.showCursor, |
|
|
|
@ -97,6 +98,15 @@ class QuillEditorConfigurations extends Equatable { |
|
|
|
|
/// Defaults to `false`. Must not be `null`. |
|
|
|
|
final bool readOnly; |
|
|
|
|
|
|
|
|
|
/// Override [readOnly] for checkbox. |
|
|
|
|
/// |
|
|
|
|
/// When this is set to `false`, the checkbox can be checked |
|
|
|
|
/// or unchecked while [readOnly] is set to `true`. |
|
|
|
|
/// When this is set to `null`, the [readOnly] value is used. |
|
|
|
|
/// |
|
|
|
|
/// Defaults to `null`. |
|
|
|
|
final bool? checkBoxReadOnly; |
|
|
|
|
|
|
|
|
|
/// Disable Clipboard features |
|
|
|
|
/// |
|
|
|
|
/// when this is set to `true` clipboard can not be used |
|
|
|
@ -369,6 +379,7 @@ class QuillEditorConfigurations extends Equatable { |
|
|
|
|
QuillController? controller, |
|
|
|
|
String? placeholder, |
|
|
|
|
bool? readOnly, |
|
|
|
|
bool? checkBoxReadOnly, |
|
|
|
|
bool? disableClipboard, |
|
|
|
|
bool? scrollable, |
|
|
|
|
double? scrollBottomInset, |
|
|
|
@ -421,6 +432,7 @@ class QuillEditorConfigurations extends Equatable { |
|
|
|
|
controller: controller ?? this.controller, |
|
|
|
|
placeholder: placeholder ?? this.placeholder, |
|
|
|
|
readOnly: readOnly ?? this.readOnly, |
|
|
|
|
checkBoxReadOnly: checkBoxReadOnly ?? this.checkBoxReadOnly, |
|
|
|
|
disableClipboard: disableClipboard ?? this.disableClipboard, |
|
|
|
|
scrollable: scrollable ?? this.scrollable, |
|
|
|
|
scrollBottomInset: scrollBottomInset ?? this.scrollBottomInset, |
|
|
|
|