setWidgetTheme method
Set the theme of the Livechat Widget.
You can define widget themes in https://portal.infobip.com/apps/livechat/widgets
(Live chat widget setup page) in Infobip Portal, section Advanced customization
.
Please check widget https://www.infobip.com/docs/live-chat/widget-customization for more details.
Function allows to change widget theme while chat is shown - in runtime.
If you set widget theme before chat is initialized by InAppChatView.init
the theme will be used once chat is loaded.
Parameter widgetTheme
unique theme name, empty or blank value is ignored.
Implementation
void setWidgetTheme(String widgetTheme) async {
await _channel.invokeMethod('setWidgetTheme', widgetTheme);
}