From ca6187810a3a5ca3465df3f9fd34e246bfe24431 Mon Sep 17 00:00:00 2001 From: xuyang Date: Wed, 17 Jul 2024 00:29:37 +0800 Subject: [PATCH] [feature] : fix ci issue --- lib/src/widgets/raw_editor/raw_editor_state.dart | 1 - lib/src/widgets/toolbar/buttons/link_style2_button.dart | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/widgets/raw_editor/raw_editor_state.dart b/lib/src/widgets/raw_editor/raw_editor_state.dart index 06be54be..9920bf09 100644 --- a/lib/src/widgets/raw_editor/raw_editor_state.dart +++ b/lib/src/widgets/raw_editor/raw_editor_state.dart @@ -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); diff --git a/lib/src/widgets/toolbar/buttons/link_style2_button.dart b/lib/src/widgets/toolbar/buttons/link_style2_button.dart index 7625800d..b6178cdd 100644 --- a/lib/src/widgets/toolbar/buttons/link_style2_button.dart +++ b/lib/src/widgets/toolbar/buttons/link_style2_button.dart @@ -288,7 +288,7 @@ class _LinkStyleDialogState extends State { ? Theme.of(context) .elevatedButtonTheme .style - ?.copyWith(fixedSize: MaterialStatePropertyAll(widget.buttonSize)) + ?.copyWith(fixedSize: WidgetStatePropertyAll(widget.buttonSize)) : widget.dialogTheme?.buttonStyle; final isWrappable = widget.dialogTheme?.isWrappable ?? false;