diff --git a/lib/src/toolbar/config/base_button_options.dart b/lib/src/toolbar/config/base_button_options.dart index 77e158514..18190bb7d 100644 --- a/lib/src/toolbar/config/base_button_options.dart +++ b/lib/src/toolbar/config/base_button_options.dart @@ -41,7 +41,6 @@ class QuillToolbarBaseButtonOptions { this.afterButtonPressed, this.tooltip, this.iconTheme, - this.enableClipboardPaste, this.childBuilder, }); @@ -65,14 +64,6 @@ class QuillToolbarBaseButtonOptions { /// Use custom theme final QuillIconTheme? iconTheme; - - /// Determines if the paste button is enabled. The button is disabled and cannot be clicked if set to `false`. - /// - /// Defaults to [ClipboardMonitor] in case of `null`, which checks if the clipboard has content to paste every second and only then enables the button, indicating to the user that they can paste something. - /// - /// Set it to `true` to enable it even if the clipboard has no content to paste, which will do nothing on a press. - final bool? enableClipboardPaste; - /// If you want to display a different widget based using a builder final QuillToolbarButtonOptionsChildBuilder childBuilder; }