Skip to content

Commit 284ab26

Browse files
authored
docs: improve doc comment of enableClipboardPaste
1 parent 3f6ed16 commit 284ab26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/toolbar/config/base_button_options.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ class QuillToolbarBaseButtonOptions<T, I> {
6666
/// Use custom theme
6767
final QuillIconTheme? iconTheme;
6868

69-
/// Determines if the paste button is enabled.
69+
/// Determines if the paste button is enabled. The button is disabled and cannot be clicked if set to `false`.
7070
///
71-
/// Defaults to [ClipboardMonitor] in case of `null`, which will check if the clipboard has content to paste every second, and only then enable the button, indicating to the user that they can paste something.
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.
7272
///
73-
/// Set to `true` to always enable it even if the clipboard has no content to paste, which will do nothing on a press.
73+
/// Set it to `true` to enable it even if the clipboard has no content to paste, which will do nothing on a press.
7474
final bool? enableClipboardPaste;
7575

7676
/// If you want to display a different widget based using a builder

0 commit comments

Comments
 (0)