[FR] Custom link dialog by overriding callback #2044
Unanswered
realth000
asked this question in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello community!
This intend to be a feature request but when I dig in it, it became more complex.
Originally what I request is a
customOnPressedCallback
inQuillToolbarLinkStyleButton
.customOnPressedCallback
is something already exists in color button:flutter-quill/lib/src/toolbar/buttons/color/color_button.dart
Line 181 in 689b8fd
Add it to
QuillToolbarLinkStyleButtonOptions
andQuillToolbarLinkStyleButton
, like the commit here so that the whole open dialog callback can be override.But I found
QuillToolbarLinkStyleButton2Options
looks quiet different. The commit mentioned above only changed the default style button, I think it's some kind ok but may need refactoring if someone request similar feature in the alternative style.Additionaly I noticed that in #1339 the new parameter is added to shared option, not the two link button option mentioned above.
So how could we have it?
Beta Was this translation helpful? Give feedback.
All reactions