@ -1257,7 +1257,6 @@ class QuillRawEditorState extends EditorState
HardwareKeyboard.instance.removeHandler(_hardwareKeyboardEvent);
assert(!hasConnection);
_selectionOverlay?.dispose();
print('selection overlay disposed');
_selectionOverlay = null;
controller.removeListener(_didChangeTextEditingValueListener);
widget.configurations.focusNode.removeListener(_handleFocusChanged);
@ -288,7 +288,7 @@ class _LinkStyleDialogState extends State<LinkStyleDialog> {
? Theme.of(context)
.elevatedButtonTheme
.style
?.copyWith(fixedSize: MaterialStatePropertyAll(widget.buttonSize))
?.copyWith(fixedSize: WidgetStatePropertyAll(widget.buttonSize))
: widget.dialogTheme?.buttonStyle;
final isWrappable = widget.dialogTheme?.isWrappable ?? false;