fixed: setState() called after dispose(): QuillToolbarClipboardButtonState (link #1895) (#1926)

pull/1931/head v9.4.3
windows7lake 10 months ago committed by GitHub
parent 5effc5ca21
commit be4b21d128
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      lib/src/widgets/toolbar/base_button/base_value_button.dart

@ -84,6 +84,7 @@ abstract class QuillToolbarBaseButtonState<
}
void didChangeEditingValue() {
if (!mounted) return;
setState(() => currentValue = currentStateValue);
}

Loading…
Cancel
Save