Skip to content

Commit 39f27ea

Browse files
removed enableClipboardPaste from base_button_options
1 parent 9ee1427 commit 39f27ea

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/src/toolbar/config/base_button_options.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class QuillToolbarBaseButtonOptions<T, I> {
4141
this.afterButtonPressed,
4242
this.tooltip,
4343
this.iconTheme,
44-
this.enableClipboardPaste,
4544
this.childBuilder,
4645
});
4746

@@ -65,14 +64,6 @@ class QuillToolbarBaseButtonOptions<T, I> {
6564

6665
/// Use custom theme
6766
final QuillIconTheme? iconTheme;
68-
69-
/// Determines if the paste button is enabled. The button is disabled and cannot be clicked if set to `false`.
70-
///
71-
/// 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.
72-
///
73-
/// Set it to `true` to enable it even if the clipboard has no content to paste, which will do nothing on a press.
74-
final bool? enableClipboardPaste;
75-
7667
/// If you want to display a different widget based using a builder
7768
final QuillToolbarButtonOptionsChildBuilder<T, I> childBuilder;
7869
}

0 commit comments

Comments
 (0)