|
|
@ -66,7 +66,7 @@ class RawEditor extends StatefulWidget { |
|
|
|
required this.selectionCtrls, |
|
|
|
required this.selectionCtrls, |
|
|
|
required this.embedBuilder, |
|
|
|
required this.embedBuilder, |
|
|
|
required this.autoFocus, |
|
|
|
required this.autoFocus, |
|
|
|
Key? key, |
|
|
|
super.key, |
|
|
|
this.scrollable = true, |
|
|
|
this.scrollable = true, |
|
|
|
this.padding = EdgeInsets.zero, |
|
|
|
this.padding = EdgeInsets.zero, |
|
|
|
this.readOnly = false, |
|
|
|
this.readOnly = false, |
|
|
@ -99,8 +99,7 @@ class RawEditor extends StatefulWidget { |
|
|
|
assert(minHeight == null || minHeight >= 0, 'minHeight cannot be null'), |
|
|
|
assert(minHeight == null || minHeight >= 0, 'minHeight cannot be null'), |
|
|
|
assert(maxHeight == null || minHeight == null || maxHeight >= minHeight, |
|
|
|
assert(maxHeight == null || minHeight == null || maxHeight >= minHeight, |
|
|
|
'maxHeight cannot be null'), |
|
|
|
'maxHeight cannot be null'), |
|
|
|
showCursor = showCursor ?? true, |
|
|
|
showCursor = showCursor ?? true; |
|
|
|
super(key: key); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Controls the document being edited. |
|
|
|
/// Controls the document being edited. |
|
|
|
final QuillController controller; |
|
|
|
final QuillController controller; |
|
|
|