Skip to content

Commit

Permalink
removed enableClipboardPaste from base_button_options
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim-Nikolaev committed Jan 17, 2025
1 parent 9ee1427 commit 39f27ea
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/src/toolbar/config/base_button_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class QuillToolbarBaseButtonOptions<T, I> {
this.afterButtonPressed,
this.tooltip,
this.iconTheme,
this.enableClipboardPaste,
this.childBuilder,
});

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

/// 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<T, I> childBuilder;
}
Expand Down

0 comments on commit 39f27ea

Please sign in to comment.