How to derive ChatTheme using ThemeData? #616
-
Hi, I am adding my preferred colors etc in ThemeData in a flutter app. I am a newbie, so even if there is no direct way as of now, any guidance on how to achieve this will be highly appreciated. Thanks and regards, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hey, sorry I was on vacation. You mean flutter_chat_ui should read theme data passed to the entire app? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response, On your question: I am not sure if flutter chat ui should read the theme data or should have a option to map themedata to flutter chat ui colors. Usecase is:
Now the usecase can be solved in two ways I think:
I am trying to do option 2, but I am not finding any straightforward way to map the styling from theme data to flutter styles. I am not really able to map things cleanly and completely is the issue. Hence the question. Any guidance on either options or any easier way to achieve this would be great. Thanks again, |
Beta Was this translation helpful? Give feedback.
-
natively supported in v2 #646 |
Beta Was this translation helpful? Give feedback.
natively supported in v2 #646