of static method
Use this method to get the current StreamChatThemeData instance
Implementation
static StreamChatConfigurationData of(BuildContext context) {
final streamChatConfiguration =
context.dependOnInheritedWidgetOfExactType<StreamChatConfiguration>();
assert(
streamChatConfiguration != null,
'''
You must have a StreamChatConfigurationProvider widget at the top of your widget tree''',
);
return streamChatConfiguration!.data;
}