-
|
@imtoori I was trying to make changes to stream chat v1 as a reference, and I am unable to change the Following even despite referring to the documentation:
Refer Images for required changes I wasn't able to apply changes for Point 2. even despite modifying the StreamChatTheme constructor in main.dart, Stream chat v1 as follows: What am I doing wrong here, Kindly suggest the right way to make these changes. Full Build Method in main.dart for reference: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hi! You can try passing the |
Beta Was this translation helpful? Give feedback.


Hi!
The sample app is built in a way that makes it easier to change user and use custom credentials as well
You can see that in
home_page.dartwe use aStreamChatwidget and aNavigatorin order to have theStreamChatwidget (inherited widget that provides the client in all the other widgets) above the navigatorYou can try passing the
StreamChatThemeDataobject to thatStreamChatwidget instead of the one you have inmain.dartI think it should work fine