Skip to product menu
Skip to main content

In-App Notifications

You can customize the appearance of the In-App Notifications shown in the app when new messages are received.

​​

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.inAppNotification.titleColor = Colors.black.toString();
customTheme.inAppNotification.subtitleColor = Colors.grey.toString();
customTheme.inAppNotification.backgroundColor = Colors.white.toString();
customTheme.inAppNotification.imageBackgroundColor = Colors.grey.toString();
customTheme.inAppNotification.cornerRadius = 6;
customTheme.inAppNotification.imageCornerRadius = 6;

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