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

StreamChannel Material color #2096

Open
1 task done
ihijazi opened this issue Feb 4, 2025 · 0 comments
Open
1 task done

StreamChannel Material color #2096

ihijazi opened this issue Feb 4, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ihijazi
Copy link

ihijazi commented Feb 4, 2025

Please select which package this feature is related to

stream_chat_flutter, stream_chat_flutter_core

Which platforms would this feature impact?

No response

Is your feature request related to a problem?

Yes. In a way related to this: #2095

Describe the solution that you'd like

StreamChannel widget's Material to allow for color to be transperant.

Describe alternatives that you have considered

Creating custom StreamChannel, but that create a lot of dependencies need to change and make use of it especially if StreamChat is not on top of the widgets tree.

Simple ask is to have color parameter inheritable/adjustable for specific use-cases where it doesn't have to follow the full app material theme.

https://github.com/GetStream/stream-chat-flutter/blob/e1ec460b9644446620c692ebd4c2aabe5b956317/packages/stream_chat_flutter_core/lib/src/stream_channel.dart#L471C1-L473C1

Additional context

One example where this can be useful is within channel, on message actions, to have the background transperant rather than showing solid color. Desired outcome (which I had to customise) is something like this:

Image

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ihijazi ihijazi added the enhancement New feature or request label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant