[feature] : fix ci issue

pull/2026/head
xuyang 9 months ago
parent 02afa62210
commit ca6187810a
  1. 1
      lib/src/widgets/raw_editor/raw_editor_state.dart
  2. 2
      lib/src/widgets/toolbar/buttons/link_style2_button.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);

@ -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;

Loading…
Cancel
Save