Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing shape of QuillToolBar and background color of buttons within QuillToolBar #1558

Closed
1 task done
davidsturm96 opened this issue Nov 29, 2023 · 5 comments
Closed
1 task done
Labels
help wanted Extra attention is needed

Comments

@davidsturm96
Copy link

Is there an existing issue for this?

The question

Hi,

I have implemented a custom QuillToolBar but haven't found any options to change the shape of the toolbar neither the background color of a button.

My Toolbar currently looks like this:

grafik

It is implemented as the bottomSheet of my Scaffold.

The chevron button on the right is a custom button, the image button on the left is an embedded button. The link button is the default one. I want match the link buttons background color to the color of the toolbar.

Also, I would like to remove the rounded corners. I have tried so by adjusting the decoration parameter of the toobar. I set the borderRadius to BorderRadius.zero and the shape to BoxShape.rectangle but both options did not have the desired effect.

Any help would be greatly appreciated.

@davidsturm96 davidsturm96 added the help wanted Extra attention is needed label Nov 29, 2023
@singerdmx
Copy link
Owner

Hello there, on behalf the Flutter Quill Team I would like to thank you for opening your first issue. Your inputs and insights are valuable in shaping a stable and reliable version for all our users. Thank you for being part of the open-source community!

@FrazeColder
Copy link

Hey there, I have the same issue with the new Material 3 update

@EchoEllet
Copy link
Collaborator

EchoEllet commented Nov 30, 2023

Hi, thank you for the report, please use the base button options to customize everything for all the buttons at once

@EchoEllet
Copy link
Collaborator

If you want to completely replace a button but still use the same state and functionality, please use the childBuilder

@EchoEllet
Copy link
Collaborator

The question has been answered and as far as I know, it's not an issue but we wasn't clear in the README.md and the docs

but we will work on that soon, feel free to ask any other questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants