-
@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.dart
we use aStreamChat
widget and aNavigator
in order to have theStreamChat
widget (inherited widget that provides the client in all the other widgets) above the navigatorYou can try passing the
StreamChatThemeData
object to thatStreamChat
widget instead of the one you have inmain.dart
I think it should work fine