Skip to main content

Launcher

You can customize the color and properties of the  Launcher  (chat widget) to match the look and feel of your application.

Example

Copiedimport 'package:salesiq_mobilisten/siqtheme.dart';

// Create a new theme instance using SIQTheme
var customTheme = new SIQTheme();

// Customize properties in the customTheme instance as desired
customTheme.launcher.backgroundColor = Colors.blue.toString();
customTheme.launcher.iconColor = Colors.white.toString();
customTheme.launcher.unreadBadge.backgroundColor = Colors.red.toString();
customTheme.launcher.unreadBadge.textColor = Colors.white.toString();
customTheme.launcher.unreadBadge.borderColor = Colors.white.toString();
customTheme.launcher.unreadBadge.borderWidth = 1;

// Set the customized theme using ZohoSalesIQ.setThemeForiOS API
ZohoSalesIQ.setThemeForiOS(customTheme);